Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DojoAssignmentChecker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
Pipelines
DojoAssignmentChecker
Commits
51f00ebf
Commit
51f00ebf
authored
1 month ago
by
michael.minelli
Browse files
Options
Downloads
Patches
Plain Diff
Add missing arguments to assignment validator
parent
7b596e5f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
AssignmentChecker/src/app.ts
+3
-2
3 additions, 2 deletions
AssignmentChecker/src/app.ts
with
3 additions
and
2 deletions
AssignmentChecker/src/app.ts
+
3
−
2
View file @
51f00ebf
...
@@ -7,6 +7,7 @@ import HttpManager from './managers/HttpManager.js';
...
@@ -7,6 +7,7 @@ import HttpManager from './managers/HttpManager.js';
import
Config
from
'
./config/Config.js
'
;
import
Config
from
'
./config/Config.js
'
;
import
Icon
from
'
./shared/types/Icon.js
'
;
import
Icon
from
'
./shared/types/Icon.js
'
;
import
SharedAssignmentHelper
from
'
./shared/helpers/Dojo/SharedAssignmentHelper
'
;
import
SharedAssignmentHelper
from
'
./shared/helpers/Dojo/SharedAssignmentHelper
'
;
import
SharedConfig
from
'
./shared/config/SharedConfig
'
;
(
async
()
=>
{
(
async
()
=>
{
...
@@ -18,7 +19,7 @@ import SharedAssignmentHelper from './shared/helpers/Dojo/SharedAssignmen
...
@@ -18,7 +19,7 @@ import SharedAssignmentHelper from './shared/helpers/Dojo/SharedAssignmen
console
.
log
(
Styles
.
APP_NAME
(
`
${
Config
.
appName
}
(version {{VERSION}})`
));
console
.
log
(
Styles
.
APP_NAME
(
`
${
Config
.
appName
}
(version {{VERSION}})`
));
const
assignmentValidator
=
new
AssignmentValidator
(
Config
.
folders
.
project
);
const
assignmentValidator
=
new
AssignmentValidator
(
Config
.
folders
.
project
,
false
,
SharedConfig
.
sonar
.
enabled
);
try
{
try
{
await
new
Promise
<
void
>
((
resolve
,
reject
)
=>
{
await
new
Promise
<
void
>
((
resolve
,
reject
)
=>
{
...
@@ -40,7 +41,7 @@ import SharedAssignmentHelper from './shared/helpers/Dojo/SharedAssignmen
...
@@ -40,7 +41,7 @@ import SharedAssignmentHelper from './shared/helpers/Dojo/SharedAssignmen
success
?
resolve
()
:
reject
();
success
?
resolve
()
:
reject
();
});
});
assignmentValidator
.
run
(
false
,
true
);
assignmentValidator
.
run
();
});
});
}
catch
(
error
)
{
/* empty */
}
}
catch
(
error
)
{
/* empty */
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment