File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,25 @@ console.log(`Hello from ${$.blue.bold("dzx")}!`);
34
34
const branch = await $ ` git branch --show-current ` ;
35
35
await $ ` dep deploy --branch=${branch } ` ;
36
36
37
- cd (" src/foo" );
38
- cd (" src/bar" );
39
-
40
37
await Promise .all ([
41
38
$ ` deno lint --unstable ` ,
42
39
$ ` deno fmt --check ` ,
43
40
$ ` deno test --allow-all ` ,
44
41
]);
45
42
46
43
const name = " foo bar" ;
47
- await $ ` mkdir /tmp/${name } ` ; // <-- string will be safly quoted to: /tmp/'foo bar'
44
+ await $ ` mkdir ./tmp/${name } ` ; // params will be quoted if required: /tmp/'foo bar'
45
+
46
+ cd (" tmp/foo bar" );
47
+ console .log (Deno .cwd ()); // ./tmp/foo bar
48
+
49
+ cd (" tmp" );
50
+ console .log (Deno .cwd ()); // ./tmp
51
+
52
+ await async .delay (1000 );
53
+ const basename = path .basename (import .meta .url );
54
+ const stdin = await io .readAll (Deno .stdin );
55
+ await fs .ensureDir (" ./tmp" );
48
56
```
49
57
50
58
## Content
You can’t perform that action at this time.
0 commit comments