From 690858e342d4dc96af9fe97a8efc90c9316a5e03 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Sat, 14 May 2011 10:28:27 -0400 Subject: [PATCH] tiny bug fix for coffeescript compilation errors --- bin/jasmine-headless-webkit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/jasmine-headless-webkit b/bin/jasmine-headless-webkit index 8949fe2..ce64ffe 100755 --- a/bin/jasmine-headless-webkit +++ b/bin/jasmine-headless-webkit @@ -86,7 +86,7 @@ files = files.flatten.compact.collect { |file| begin %{} rescue CoffeeScript::CompilationError => e - puts "[%s] %s: %s" % [ 'coffeescript'.color(:red), file.color(:yellow), e.message.color(:white) ] + puts "[%s] %s: %s" % [ 'coffeescript'.color(:red), file.color(:yellow), e.message.to_s.color(:white) ] exit 1 ensure fh.close