File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const runbook = async (args: string[], config: { cwd: string }) => {
11
11
const env = {
12
12
WORKING_DIR : config . cwd ,
13
13
} ;
14
- const cmd = await $ `WORKING_DIR= ${ config . cwd } runbook ${ args } ` . env ( env ) . stdout ( "piped" ) . stderr ( "piped" ) . noThrow ( ) ;
14
+ const cmd = await $ `runbook ${ args } ` . env ( env ) . stdout ( "piped" ) . stderr ( "piped" ) . noThrow ( ) ;
15
15
return cmd ;
16
16
} ;
17
17
@@ -83,12 +83,12 @@ Deno.test.ignore("diff", async (t) => {
83
83
84
84
Deno . test ( "init" , async ( t ) => {
85
85
const { dir} = await setup ( ) ;
86
- const files = ( await getAllFiles ( dir ) ) . map ( f => f . replace ( dir , "" ) ) ;
86
+ const files = ( await getAllFiles ( dir ) ) . map ( f => f . replace ( dir , "" ) ) . sort ( ) ;
87
87
assertEquals ( files , [
88
88
"/runbooks/binder/_template-deno.ipynb" ,
89
89
"/runbooks/binder/_template-python.ipynb" ,
90
90
"/runbooks/.runbook.json" ,
91
- ] )
91
+ ] . sort ( ) ) ;
92
92
} ) ;
93
93
94
94
Deno . test ( "list" , async ( t ) => {
You can’t perform that action at this time.
0 commit comments