mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
build: removes disturbing error outputs on which call
By calling `which node nodejs` which reports an error even if there's an existing nodejs installation in $PATH. It silently ignores that non existing issue now. Before: http://imagebin.org/181889 After: http://imagebin.org/181890
This commit is contained in:
parent
e31adf039b
commit
ea38e15e20
@ -320,7 +320,7 @@
|
||||
<echo message="Comparing file size with previous build" />
|
||||
<exec executable="bash">
|
||||
<arg value="-c" />
|
||||
<arg value="wc -c ${size.dir}/* | `which node nodejs` build/sizer.js" />
|
||||
<arg value="wc -c ${size.dir}/* | `which node nodejs 2>/dev/null` build/sizer.js" />
|
||||
</exec>
|
||||
<delete dir="${size.dir}" />
|
||||
</target>
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
dir=$(dirname $0)
|
||||
`which node nodejs` $dir/uglify.js $1 > $2
|
||||
`which node nodejs 2> /dev/null` $dir/uglify.js $1 > $2
|
||||
|
Loading…
Reference in New Issue
Block a user