public
/
clean-css.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30ed70f
)
Fixes #79 - node.js 0.10.x compatibility.
author
GoalSmashers
<jakub@goalsmashers.com>
Tue, 19 Mar 2013 20:32:17 +0000
(21:32 +0100)
committer
GoalSmashers
<jakub@goalsmashers.com>
Tue, 19 Mar 2013 20:32:17 +0000
(21:32 +0100)
bin/cleancss
patch
|
blob
|
history
diff --git
a/bin/cleancss
b/bin/cleancss
index
29fe083
..
56bcee4
100755
(executable)
--- a/
bin/cleancss
+++ b/
bin/cleancss
@@
-43,7
+43,7
@@
var options = {
target: null
};
var cleanOptions = {};
-var fromStdin = !process.env['__DIRECT__'] &&
process.stdin.writable
;
+var fromStdin = !process.env['__DIRECT__'] &&
!process.stdin.isTTY
;
// If no sensible data passed in just print help and exit
if (!fromStdin && commands.args.length == 0) {