From 48ceb59d1091e16c25164d6c48885c6f44164009 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 23 Nov 2014 00:05:55 +0800 Subject: [PATCH 1/2] fix #86 error file path. Signed-off-by: Bo-Yi Wu --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index cbaf986..37859a1 100644 --- a/index.js +++ b/index.js @@ -34,9 +34,8 @@ module.exports = function(opt) { return cb(new gutil.PluginError(PLUGIN_NAME, stdout || 'Compass failed', {fileName: file.path})); } - var relPathToSass = path.relative(path.resolve(opt.project, opt.sass), file.path); file.contents = null; - file.path = path.resolve(opt.css, gutil.replaceExtension(relPathToSass, '.css')); + file.path = gutil.replaceExtension(file.path, '.css'); fs.readFile(pathToCss, function (err, contents) { if (err) { From 52a7e466446b872d152845fe90aaad79584f38bf Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 23 Nov 2014 00:10:59 +0800 Subject: [PATCH 2/2] bump version to 2.0.3 Signed-off-by: Bo-Yi Wu --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 224c6c4..d8ea0bf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gulp-compass", - "version": "2.0.2", + "version": "2.0.3", "description": "Compile Compass files", "main": "index.js", "repository": { @@ -38,8 +38,8 @@ "del": "^0.1.3", "gulp": "^3.8.10", "gulp-jshint": "^1.9.0", - "gulp-mocha": "^1.1.1", - "iconv-lite": "^0.4.4", + "gulp-mocha": "^1.1.2", + "iconv-lite": "^0.4.5", "jshint-stylish": "^1.0.0", "map-stream": "0.0.5", "mocha": "^2.0.1",