Skip to content

Commit

Permalink
Merge branch '1.X'
Browse files Browse the repository at this point in the history
  • Loading branch information
nmccready committed Jan 9, 2017
2 parents 0e5cf97 + e7c2e96 commit 23db837
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gulp-sourcemaps",
"version": "2.2.2",
"version": "2.2.3",
"description": "Source map support for Gulp.js",
"homepage": "http://github.com/floridoo/gulp-sourcemaps",
"repository": "git://github.com/floridoo/gulp-sourcemaps.git",
Expand Down
2 changes: 1 addition & 1 deletion src/write.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function write(destPath, options) {
// load missing source content
for (var i = 0; i < file.sourceMap.sources.length; i++) {
if (!sourceMap.sourcesContent[i]) {
var sourcePath = path.resolve(sourceMap.sourceRoot || file.base, sourceMap.sources[i]);
var sourcePath = path.resolve(file.base, sourceMap.sources[i]);
try {
if (options.debug)
debug('No source content for "' + sourceMap.sources[i] + '". Loading from file.');
Expand Down

0 comments on commit 23db837

Please sign in to comment.