Skip to content

Commit a9b7998

Browse files
committed
Fix regression and revert warning message to match current suppressors.
1 parent b2d4f61 commit a9b7998

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,6 @@ temp
6767
# Rush files
6868
common/temp/**
6969
package-deps.json
70+
71+
# OS X
72+
.DS_Store

core-build/gulp-core-build-sass/src/SassTask.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,7 @@ export class SassTask extends GulpTask<ISassTaskConfig> {
136136
this.buildConfig.rootPath, filePath
137137
);
138138
this.logWarning(
139-
`${relativeFilePath}: filename should end with either .module.sass ` +
140-
`or .module.scss`
139+
`${relativeFilePath}: filename should end with module.sass or module.scss`
141140
);
142141
}
143142

@@ -287,6 +286,7 @@ export class SassTask extends GulpTask<ISassTaskConfig> {
287286
} else {
288287
this.logVerbose(message);
289288
}
289+
key = `'${key}'`;
290290
}
291291
styleLines.push(` ${key}: '${value}'`);
292292
});

0 commit comments

Comments
 (0)