Browse Source

Use findAmberPath just as in other repos.

Herby Vojčík 5 years ago
parent
commit
79d20e6bbc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Gruntfile.js

+ 1 - 1
Gruntfile.js

@@ -50,7 +50,7 @@ module.exports = function (grunt) {
         // task configuration
         amberc: {
             options: {
-                amber_dir: path.join(__dirname, "node_modules", "@ambers", "lang"),
+                amber_dir: findAmberPath(['../amber/lang', 'node_modules/@ambers/lang']),
                 configFile: "config.js"
             },
             all: {