File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 411
411
"update-vscode" : " node ./node_modules/vscode/bin/install" ,
412
412
"test" : " node ./out/test/runTest.js" ,
413
413
"lint" : " eslint . --ext .js,.ts" ,
414
- "check-formatting" : " prettier --check ./src/**/*.ts .*.js "
414
+ "check-formatting" : " prettier --check ./src/**/*.ts .*.js " ,
415
+ "fix-formatting" : " prettier --write ./src/**/*.ts .*.js "
415
416
},
416
417
"devDependencies" : {
417
418
"@types/glob" : " ^7.1.3" ,
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ function escapeSingleQuotes(s: string): string {
25
25
26
26
function quote ( s : string ) : string {
27
27
const q = isWindows ( ) ? '"' : `'` ;
28
- return [ q , s , q ] . join ( '' ) ;
28
+ return [ q , s , q ] . join ( "" ) ;
29
29
}
30
30
31
31
function isWindows ( ) : boolean {
32
- return process . platform . includes ( ' win32' ) ;
32
+ return process . platform . includes ( " win32" ) ;
33
33
}
34
34
35
35
function buildTestCommand ( args : RunArgs ) : string {
@@ -39,7 +39,9 @@ function buildTestCommand(args: RunArgs): string {
39
39
args . module
40
40
) ;
41
41
42
- return `mix test --exclude test --include ${ quote ( escapeSingleQuotes ( testFilter ) ) } ${ args . filePath } ` ;
42
+ return `mix test --exclude test --include ${ quote (
43
+ escapeSingleQuotes ( testFilter )
44
+ ) } ${ args . filePath } `;
43
45
}
44
46
45
47
function buildTestInclude (
You can’t perform that action at this time.
0 commit comments