Skip to content

Commit

Permalink
v3.1.1(and error message fixes)
Browse files Browse the repository at this point in the history
  • Loading branch information
fourseven committed May 19, 2015
1 parent 7777f85 commit 67d8778
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 32 deletions.
44 changes: 22 additions & 22 deletions .npm/plugin/compileScss/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .versions
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ [email protected]
[email protected]
[email protected]
[email protected]
fourseven:scss@3.0.0
fourseven:scss@3.1.1
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]_2
[email protected]
local-test:fourseven:scss@3.0.0
local-test:fourseven:scss@3.1.1
[email protected]
[email protected]
[email protected]
Expand Down
4 changes: 2 additions & 2 deletions package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
summary: 'Style with attitude. Sass and SCSS support for Meteor.js (with autoprefixer and sourcemaps).',
version: "3.0.0",
version: "3.1.1",
git: "https://github.com/fourseven/meteor-scss.git",
name: "fourseven:scss"
});
Expand All @@ -12,7 +12,7 @@ Package.registerBuildPlugin({
'plugin/compile-scss.js'
],
npmDependencies: {
'node-sass': '3.0.0',
'node-sass': '3.1.1',
'lodash': '2.4.1',
'autoprefixer-core': '5.1.4',
}
Expand Down
10 changes: 4 additions & 6 deletions plugin/compile-scss.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,11 @@ var sourceHandler = function(compileStep) {
try {
result = sass.renderSync(options);
} catch (error) {
e = JSON.parse(error); // error should be an object, not a string, if using render
// guess it hasn't been implemented for renderSync
return compileStep.error({
message: "Scss compiler error: " + e.message + "\n",
sourcePath: e.file || compileStep.inputPath,
line: e.line,
column: e.column
message: "Scss compiler error: " + error.message + "\n",
sourcePath: error.file || compileStep.inputPath,
line: error.line,
column: error.column
});
}

Expand Down

0 comments on commit 67d8778

Please sign in to comment.