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

Commit016d4d6

Browse files
committed
fix build issue
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parentbc4dd2c commit016d4d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/validate.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ async function validate(args: string[]) {
1818

1919
// -y --yaml - default coderoad-config.yml
2020
constoptions={
21-
yaml:getArg(args,{name:"yaml",alias:"y"})||"coderoad.yaml";
22-
}
21+
yaml:getArg(args,{name:"yaml",alias:"y"})||"coderoad.yaml",
22+
};
2323

2424
const_yaml=awaitread(path.join(localDir,options.yaml),"utf8");
2525

2626
// parse yaml config
2727
letconfig;
2828
try{
29-
config=yamlParser.load(_yaml)
29+
config=yamlParser.load(_yaml);
3030
// TODO: validate yaml
3131
if(!config||!config.length){
32-
thrownewError('Invalid yaml file contents')
32+
thrownewError("Invalid yaml file contents");
3333
}
3434
}catch(e){
3535
console.error("Error parsing yaml");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp