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 59
59
"extract-text-webpack-plugin" : " 3.0.0" ,
60
60
"file-loader" : " ^0.10.0" ,
61
61
"fs-extra" : " ^4.0.0" ,
62
- "get-caller-file" : " ^1.0.0" ,
63
62
"glob" : " ^7.0.3" ,
64
63
"heimdalljs" : " ^0.2.4" ,
65
64
"heimdalljs-logger" : " ^0.1.9" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ const nopt = require('nopt');
4
4
const chalk = require ( 'chalk' ) ;
5
5
const path = require ( 'path' ) ;
6
6
const camelize = require ( 'ember-cli-string-utils' ) . camelize ;
7
- const getCallerFile = require ( 'get-caller-file' ) ;
8
7
const printCommand = require ( '../utilities/print-command' ) ;
9
8
const _ = require ( 'lodash' ) ;
10
9
const EOL = require ( 'os' ) . EOL ;
@@ -84,7 +83,7 @@ let Command = CoreObject.extend({
84
83
* @type String
85
84
* @example `new` or `generate`
86
85
*/
87
- this . name = this . name || path . basename ( getCallerFile ( ) , '.js' ) ;
86
+ this . name = this . name || '<undefined>' ;
88
87
89
88
logger . info ( 'initialize: name: %s, name: %s' , this . name ) ;
90
89
Original file line number Diff line number Diff line change 46
46
"extract-text-webpack-plugin" : " 3.0.0" ,
47
47
"file-loader" : " ^0.10.0" ,
48
48
"fs-extra" : " ^4.0.0" ,
49
- "get-caller-file" : " ^1.0.0" ,
50
49
"glob" : " ^7.0.3" ,
51
50
"heimdalljs" : " ^0.2.4" ,
52
51
"heimdalljs-logger" : " ^0.1.9" ,
You can’t perform that action at this time.
0 commit comments