Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
Fix double-source-comment for inline file writes
Browse files Browse the repository at this point in the history
  • Loading branch information
crisptrutski committed Feb 18, 2015
1 parent 83af121 commit 78e4747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function minify(output, fileName, mangle) {
}

function writeOutputFile(opts, output, basePath) {
if (opts.sourceMaps) {
if (output.sourceMaps) {
var sourceMapFile = path.basename(opts.outFile) + '.map';
output.source += '\n//# sourceMappingURL=' + sourceMapFile;
}
Expand Down

0 comments on commit 78e4747

Please sign in to comment.