Skip to content

Commit d764388

Browse files
committed
Merge pull request jquery#511 from basti1253/master
build: removes disturbing error outputs on which call
2 parents 69f6f58 + ea38e15 commit d764388

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@
320320
<echo message="Comparing file size with previous build" />
321321
<exec executable="bash">
322322
<arg value="-c" />
323-
<arg value="wc -c ${size.dir}/* | `which node nodejs` build/sizer.js" />
323+
<arg value="wc -c ${size.dir}/* | `which node nodejs 2>/dev/null` build/sizer.js" />
324324
</exec>
325325
<delete dir="${size.dir}" />
326326
</target>

build/build/minify-js.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22
dir=$(dirname $0)
3-
`which node nodejs` $dir/uglify.js $1 > $2
3+
`which node nodejs 2> /dev/null` $dir/uglify.js $1 > $2

0 commit comments

Comments
 (0)