Skip to content

Commit 404c752

Browse files
kevvabtford
authored andcommitted
fix(app): use this.env.options.appPath
Fixes yeoman#145.
1 parent 18ef336 commit 404c752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script-base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function Generator() {
3535
// attempt to detect if user is using CS or not
3636
// if cml arg provided, use that; else look for the existence of cs
3737
if (!this.options.coffee &&
38-
this.expandFiles(path.join(this.appPath, '/scripts/**/*.coffee'), {}).length > 0) {
38+
this.expandFiles(path.join(this.env.options.appPath, '/scripts/**/*.coffee'), {}).length > 0) {
3939
this.options.coffee = true;
4040
}
4141

0 commit comments

Comments
 (0)