mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
Do not pass invalid filename 'stdio' to compileScript when compiling from stdin because it breaks fs.realpathSync at run.
It would be nice to have a test for this but wasn't sure if there is a way to test stdin from cake.
This commit is contained in:
parent
bc8022f49f
commit
3af34d61d3
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@
|
|||
return buffer ? code += buffer.toString() : void 0;
|
||||
});
|
||||
return stdin.on('end', function() {
|
||||
return compileScript('stdio', code);
|
||||
return compileScript(null, code);
|
||||
});
|
||||
};
|
||||
watch = function(source, base) {
|
||||
|
|
Loading…
Reference in a new issue