File tree Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 5959 "extract-text-webpack-plugin" : " 3.0.0" ,
6060 "file-loader" : " ^0.10.0" ,
6161 "fs-extra" : " ^4.0.0" ,
62- "get-caller-file" : " ^1.0.0" ,
6362 "glob" : " ^7.0.3" ,
6463 "heimdalljs" : " ^0.2.4" ,
6564 "heimdalljs-logger" : " ^0.1.9" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ const nopt = require('nopt');
44const chalk = require ( 'chalk' ) ;
55const path = require ( 'path' ) ;
66const camelize = require ( 'ember-cli-string-utils' ) . camelize ;
7- const getCallerFile = require ( 'get-caller-file' ) ;
87const printCommand = require ( '../utilities/print-command' ) ;
98const _ = require ( 'lodash' ) ;
109const EOL = require ( 'os' ) . EOL ;
@@ -84,7 +83,7 @@ let Command = CoreObject.extend({
8483 * @type String
8584 * @example `new` or `generate`
8685 */
87- this . name = this . name || path . basename ( getCallerFile ( ) , '.js' ) ;
86+ this . name = this . name || '<undefined>' ;
8887
8988 logger . info ( 'initialize: name: %s, name: %s' , this . name ) ;
9089
Original file line number Diff line number Diff line change 4646 "extract-text-webpack-plugin" : " 3.0.0" ,
4747 "file-loader" : " ^0.10.0" ,
4848 "fs-extra" : " ^4.0.0" ,
49- "get-caller-file" : " ^1.0.0" ,
5049 "glob" : " ^7.0.3" ,
5150 "heimdalljs" : " ^0.2.4" ,
5251 "heimdalljs-logger" : " ^0.1.9" ,
You can’t perform that action at this time.
0 commit comments