We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 143d398 commit c754118Copy full SHA for c754118
bin/build
@@ -4,13 +4,7 @@ source ${0%/*}/.init
4
5
strip_babel() {
6
cp "$1" "$1-tmp"
7
-
8
- if [ $(node -e 'console.log(Number.parseFloat(process.version.substring(1)) >= 7)') == "true" ]; then
9
- cat "$1-tmp" | sed 's/babel-node/node/g' | sed 's/FLAGS=.*$/FLAGS="--harmony-async-await"/g' > "$1"
10
- else
11
- cat "$1-tmp" | sed 's/babel-node/node/g' | sed 's/FLAGS=.*$/FLAGS=""/g' > "$1"
12
- fi
13
+ cat "$1-tmp" | sed 's/babel-node/node/g' > "$1"
14
rm "$1-tmp"
15
}
16
0 commit comments