From 212ad45be41afa7801d516bcca81d6b154bd5965 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Sat, 24 Apr 2010 22:13:13 -0400 Subject: [PATCH] merging gfxmonk's removed error event fix. --- Cakefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Cakefile b/Cakefile index 8d4d87a0..65e3240c 100644 --- a/Cakefile +++ b/Cakefile @@ -6,9 +6,7 @@ CoffeeScript: require './lib/coffee-script' # Run a CoffeeScript through our node/coffee interpreter. run: (args) -> proc: spawn 'bin/coffee', args - err: "" - proc.stderr.addListener 'data', (data) -> err += data - proc.addListener 'exit', (ex) -> puts err if ex != 0 + proc.stderr.addListener 'data', (buffer) -> puts buffer.toString() option '-p', '--prefix [DIR]', 'set the installation prefix for `cake install`'