@@ -92,7 +92,7 @@ async function formatFiles(files, bsc_exe, isSupportedFile, checkFormatting) {
9292 }
9393 }
9494 return null ;
95- } )
95+ } ) ,
9696 ) ;
9797 } catch ( err ) {
9898 console . error ( err ) ;
@@ -103,7 +103,7 @@ async function formatFiles(files, bsc_exe, isSupportedFile, checkFormatting) {
103103 console . error ( "The file listed above needs formatting" ) ;
104104 } else {
105105 console . error (
106- `The ${ incorrectlyFormattedFiles } files listed above need formatting`
106+ `The ${ incorrectlyFormattedFiles } files listed above need formatting` ,
107107 ) ;
108108 }
109109 process . exit ( 3 ) ;
@@ -135,7 +135,7 @@ async function main(argv, rescript_exe, bsc_exe) {
135135 // Require: -all or path to a file
136136 if ( check . val && ! format_project && files . length == 0 ) {
137137 console . error (
138- "format check require path to a file or use `-all` to check the whole project"
138+ "format check require path to a file or use `-all` to check the whole project" ,
139139 ) ;
140140 process . exit ( 2 ) ;
141141 }
@@ -152,7 +152,7 @@ async function main(argv, rescript_exe, bsc_exe) {
152152 [ "info" , "-list-files" ] ,
153153 {
154154 encoding : "utf-8" ,
155- }
155+ } ,
156156 ) ;
157157 if ( output . status !== 0 ) {
158158 console . error ( output . stdout ) ;
@@ -173,7 +173,7 @@ async function main(argv, rescript_exe, bsc_exe) {
173173 os . tmpdir ( ) ,
174174 "rescript_" +
175175 crypto . randomBytes ( 8 ) . toString ( "hex" ) +
176- path . parse ( use_stdin ) . base
176+ path . parse ( use_stdin ) . base ,
177177 ) ;
178178 ( async function ( ) {
179179 var content = await readStdin ( ) ;
@@ -191,7 +191,7 @@ async function main(argv, rescript_exe, bsc_exe) {
191191 console . error ( stderr ) ;
192192 process . exit ( 2 ) ;
193193 }
194- }
194+ } ,
195195 ) ;
196196 } ) ( ) ;
197197 } else {
0 commit comments