@@ -44,7 +44,7 @@ function exec(cmd: string, args: string[], options: childProcess.SpawnOptions):
4444 resolve ( {
4545 status : status ,
4646 stdout : stdout ,
47- stderr : stderr
47+ stderr : stderr ,
4848 } ) ;
4949 } ) ;
5050 } ) ;
@@ -161,7 +161,7 @@ describe("tsfmt test", () => {
161161
162162 return Promise . all ( [
163163 checkByTslint ( tslintConfigName , fileName , true ) ,
164- checkByTslint ( tslintConfigName , expectedTsFileName , false )
164+ checkByTslint ( tslintConfigName , expectedTsFileName , false ) ,
165165 ] ) . then ( ( ) => null ) ;
166166 } ) ;
167167 } ) ;
@@ -294,7 +294,7 @@ describe("tsfmt test", () => {
294294
295295 describe ( "CLI test" , ( ) => {
296296 it ( "should reformat files specified at files in tsconfig.json" , ( ) => {
297- return exec ( path . resolve ( "./bin/tsfmt" ) , [ ] , { cwd : path . resolve ( ' ./test/cli/files' ) } ) . then ( result => {
297+ return exec ( path . resolve ( "./bin/tsfmt" ) , [ ] , { cwd : path . resolve ( " ./test/cli/files" ) } ) . then ( result => {
298298 assert . equal ( result . status , 0 ) ;
299299 assert . equal ( result . stdout . trim ( ) , `
300300class TestCLI {
@@ -307,7 +307,7 @@ class TestCLI {
307307 } ) ;
308308
309309 it ( "should reformat files specified at include, exclude in tsconfig.json" , ( ) => {
310- return exec ( path . resolve ( "./bin/tsfmt" ) , [ ] , { cwd : path . resolve ( ' ./test/cli/includeExclude' ) } ) . then ( result => {
310+ return exec ( path . resolve ( "./bin/tsfmt" ) , [ ] , { cwd : path . resolve ( " ./test/cli/includeExclude" ) } ) . then ( result => {
311311 assert . equal ( result . status , 0 ) ;
312312 assert . equal ( result . stdout . trim ( ) , `
313313export class TestCLI {
@@ -319,7 +319,7 @@ export class TestCLI {
319319 } ) ;
320320
321321 it ( "should pickup files from --useTsconfig specified tsconfig.json" , ( ) => {
322- return exec ( path . resolve ( "./bin/tsfmt" ) , [ "--verify" , "--useTsconfig" , "./tsconfig.main.json" ] , { cwd : path . resolve ( ' ./test/cli/useTsconfig' ) } ) . then ( result => {
322+ return exec ( path . resolve ( "./bin/tsfmt" ) , [ "--verify" , "--useTsconfig" , "./tsconfig.main.json" ] , { cwd : path . resolve ( " ./test/cli/useTsconfig" ) } ) . then ( result => {
323323 assert . equal ( result . status , 1 ) ;
324324 assert . equal ( result . stdout . trim ( ) , "" ) ;
325325 assert . equal ( result . stderr . replace ( process . cwd ( ) , "**" ) . trim ( ) , `
0 commit comments