Commit 717ebda
committed
Prevent a warning in ruby-wasm-emscripten/build-package.sh
The PATH environment variable introduced emsdk has a directory named
`node`, which caused the following error:
```
./build-package.sh: line 22: /home/runner/work/emirb/emirb/emsdk/node: Is a directory
./build-package.sh: line 23: [: : integer expression expected
```
This change checks the version of "$dir/node" only when it is a file,
not a directory.1 parent 38070b9 commit 717ebda
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments