mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-26 01:01:13 +08:00
refactor(@angular/cli): remove unused 'get-caller-file' ember-cli dep
This commit is contained in:
parent
8397bfa9a5
commit
453fc8054a
@ -59,7 +59,6 @@
|
||||
"extract-text-webpack-plugin": "3.0.0",
|
||||
"file-loader": "^0.10.0",
|
||||
"fs-extra": "^4.0.0",
|
||||
"get-caller-file": "^1.0.0",
|
||||
"glob": "^7.0.3",
|
||||
"heimdalljs": "^0.2.4",
|
||||
"heimdalljs-logger": "^0.1.9",
|
||||
|
@ -4,7 +4,6 @@ const nopt = require('nopt');
|
||||
const chalk = require('chalk');
|
||||
const path = require('path');
|
||||
const camelize = require('ember-cli-string-utils').camelize;
|
||||
const getCallerFile = require('get-caller-file');
|
||||
const printCommand = require('../utilities/print-command');
|
||||
const _ = require('lodash');
|
||||
const EOL = require('os').EOL;
|
||||
@ -84,7 +83,7 @@ let Command = CoreObject.extend({
|
||||
* @type String
|
||||
* @example `new` or `generate`
|
||||
*/
|
||||
this.name = this.name || path.basename(getCallerFile(), '.js');
|
||||
this.name = this.name || '<undefined>';
|
||||
|
||||
logger.info('initialize: name: %s, name: %s', this.name);
|
||||
|
||||
|
@ -46,7 +46,6 @@
|
||||
"extract-text-webpack-plugin": "3.0.0",
|
||||
"file-loader": "^0.10.0",
|
||||
"fs-extra": "^4.0.0",
|
||||
"get-caller-file": "^1.0.0",
|
||||
"glob": "^7.0.3",
|
||||
"heimdalljs": "^0.2.4",
|
||||
"heimdalljs-logger": "^0.1.9",
|
||||
|
Loading…
x
Reference in New Issue
Block a user