diff --git a/lib/bootstrap-local.js b/lib/bootstrap-local.js index a4043c34437f..645c540267e9 100644 --- a/lib/bootstrap-local.js +++ b/lib/bootstrap-local.js @@ -6,6 +6,8 @@ const path = require('path'); const ts = require('typescript'); +Error.stackTraceLimit = Infinity; + global.angularCliIsLocal = true; global.angularCliPackages = require('./packages'); diff --git a/packages/@angular/cli/lib/cli/index.js b/packages/@angular/cli/lib/cli/index.js index 10952734a829..3e0f3c056be9 100644 --- a/packages/@angular/cli/lib/cli/index.js +++ b/packages/@angular/cli/lib/cli/index.js @@ -12,7 +12,6 @@ const UI = require('../../ember-cli/lib/ui'); const Watcher = require('../../ember-cli/lib/models/watcher'); const path = require('path'); -Error.stackTraceLimit = Infinity; module.exports = function(options) {