@@ -6,7 +6,7 @@ import { retry } from "./retry.ts";
66
77async function * findFilesRecursive (
88 path : string ,
9- name : string ,
9+ name : string
1010) : AsyncGenerator < string , void , unknown > {
1111 for await ( const entry of Deno . readDir ( path ) ) {
1212 const fullPath = resolve ( join ( path , entry . name ) ) ;
@@ -37,7 +37,7 @@ async function RunXmake(
3737 sdk : string ,
3838 executable : string ,
3939 group : string ,
40- mode : string ,
40+ mode : string
4141) {
4242 await RunXmakeConfig ( file , toolchain , sdk , executable , mode ) ;
4343 await retry ( RunXmakeBuild . bind ( null , file , executable , group ) , {
@@ -50,11 +50,11 @@ async function RunXmake(
5050 const cwd = path . dirname ( file ) ;
5151 const dirtobecreate = path . join (
5252 cwd ,
53- path . dirname ( filepathmatched ) ,
53+ path . dirname ( filepathmatched )
5454 ) ;
5555
5656 console . log (
57- "Ensures that the directory exists:" + dirtobecreate ,
57+ "Ensures that the directory exists:" + dirtobecreate
5858 ) ;
5959 await ensureDir ( dirtobecreate ) ;
6060 return true ;
@@ -69,7 +69,7 @@ async function RunXmakeConfig(
6969 toolchain : string ,
7070 sdk : string ,
7171 executable : string ,
72- mode : string ,
72+ mode : string
7373) {
7474 console . log ( { file } ) ;
7575 const cwd = path . dirname ( file ) ;
@@ -88,9 +88,10 @@ export async function RunCommandShell(others: string[], cwd?: string) {
8888
8989 const cmd = os === "windows" ? "powershell.exe" : "bash" ;
9090
91- const args = os === "windows"
92- ? [ "-command" , others . join ( " \n " ) ]
93- : [ "-c" , others . join ( " && " ) ] ;
91+ const args =
92+ os === "windows"
93+ ? [ "-command" , others . join ( " \n " ) ]
94+ : [ "-c" , others . join ( " && " ) ] ;
9495
9596 console . log ( JSON . stringify ( { cmd, cwd, args } ) ) ;
9697 const command = new Deno . Command ( cmd , { cwd : cwd , args } ) ;
0 commit comments