Skip to content

Commit 02e69b4

Browse files
committed
fix(addon-support): ensure app.options is present
1 parent 1b838a6 commit 02e69b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = {
3838

3939
sassOptions: function () {
4040
var env = process.env.EMBER_ENV;
41-
var options = (this.app && this.app.options.sassOptions) || {};
41+
var options = (this.app && this.app.options && this.app.options.sassOptions) || {};
4242
var envConfig = this.project.config(env).sassOptions;
4343
if (envConfig) {
4444
console.warn("Deprecation warning: sassOptions should be moved to your ember-cli-build");

0 commit comments

Comments
 (0)