Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2d49042

Browse files
committed
fix validate
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parente4f5c19 commit2d49042

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

‎package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"@coderoad/cli",
3-
"version":"0.4.0",
3+
"version":"0.4.1",
44
"description":"A CLI to build the configuration file for Coderoad Tutorials",
55
"keywords": [
66
"coderoad",

‎src/validate.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ async function validate(args: string[]) {
104104
for(conststepoflevel.steps){
105105
console.info(`**${step.id}`);
106106
// load commits
107-
conststepSetupCommits=commits[`${step.id}Q`];
107+
conststepSetupCommits=commits[`${step.id}:T`];
108108
if(stepSetupCommits){
109109
console.info(`--- Loading setup commits...`);
110110
awaitcherryPick(stepSetupCommits);
@@ -115,7 +115,7 @@ async function validate(args: string[]) {
115115
awaitrunCommands(step.setup.commands);
116116
}
117117

118-
conststepSolutionCommits=commits[`${step.id}A`];
118+
conststepSolutionCommits=commits[`${step.id}:S`];
119119
consthasSolution=step.solution||stepSolutionCommits;
120120

121121
// ignore running tests on steps with no solution
@@ -167,7 +167,6 @@ async function validate(args: string[]) {
167167
console.error(e.message);
168168
}finally{
169169
// cleanup
170-
console.log("options.clean",options.clean);
171170
if(options.clean){
172171
awaitfs.emptyDir(tmpDir);
173172
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp