Commit f1f66707 by Adeel Committed by Kevin Martensson

Code: Fixes condition.

parent aa3b8361
......@@ -53,7 +53,7 @@ var prepareOptions = function (options) {
if (sourceMap) {
if (typeof sourceMap !== 'string' || !sourceMap.trim()) {
sourceMap = options.outFile !== null ? options.outFile + '.map' : '';
sourceMap = options.outFile ? options.outFile + '.map' : '';
} else if (options.outFile) {
sourceMap = path.resolve(path.dirname(options.file), sourceMap);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment