Commit 998ecbed by Adeel

Code: Skips path.resolve when outFile is not set.

parent e403fe36
......@@ -55,7 +55,7 @@ function getSourceMap(options) {
sourceMap = options.outFile + '.map';
}
return sourceMap ? path.resolve(sourceMap) : null;
return sourceMap && typeof sourceMap === 'string' ? path.resolve(sourceMap) : null;
}
/**
......
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