mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
implementing the Node REPL.
This commit is contained in:
parent
ba2d9df25f
commit
e08e99a403
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ Usage:
|
||||||
|
|
||||||
# Use Narwhal to run an interactive CoffeeScript session.
|
# Use Narwhal to run an interactive CoffeeScript session.
|
||||||
def launch_repl
|
def launch_repl
|
||||||
exec "#{LAUNCHER}"
|
exec "node #{ROOT}/lib/coffee_script/repl.js"
|
||||||
rescue Errno::ENOENT
|
rescue Errno::ENOENT
|
||||||
puts "Error: Node.js must be installed to use the interactive REPL."
|
puts "Error: Node.js must be installed to use the interactive REPL."
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue