Browse Source

cli: Important detail for -d to work re-added.

It must have been lost during some files moves etc.
Herbert Vojčík 11 years ago
parent
commit
621119ce03
1 changed files with 2 additions and 2 deletions
  1. 2 2
      external/amber-cli/cli/support/amberc-cli.js

+ 2 - 2
external/amber-cli/cli/support/amberc-cli.js

@@ -18,10 +18,10 @@ if (1 > parameters.length) {
 // we can find the st and js directories etc.
 var amber_dir = path.normalize(path.join(__dirname, '..', '..', 'node_modules', 'amber'));
 
-var compiler = new amberc.Compiler(amber_dir);
-
 var configuration = handle_options(parameters);
 
+var compiler = new amberc.Compiler(amber_dir);
+
 compiler.main(configuration);