mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
merging in Trevor's --no-wrap deprecation
This commit is contained in:
@@ -187,7 +187,7 @@ parseOptions = ->
|
||||
o.print = !! (o.print or (o.eval or o.stdio and o.compile))
|
||||
sources = o.arguments
|
||||
if opts['no-wrap']
|
||||
console.log '--no-wrap is deprecated; please use --bare instead.\n'
|
||||
console.warn '--no-wrap is deprecated; please use --bare instead.'
|
||||
|
||||
# The compile-time options to pass to the CoffeeScript compiler.
|
||||
compileOptions = (fileName) -> {fileName, bare: opts.bare or opts['no-wrap']}
|
||||
|
||||
Reference in New Issue
Block a user