component-builder
Advanced tools
Comparing version 1.1.7 to 1.1.8
@@ -419,3 +419,3 @@ /** | ||
var err = syntaxError(string, file.filename); | ||
if (err) return done(err); | ||
if (err) return done(new Error(err.toString())); | ||
} | ||
@@ -422,0 +422,0 @@ |
@@ -428,3 +428,3 @@ (function( | ||
if (!($ctx0.t0.code === 'ENOENT')) { | ||
if (!($ctx0.t0.code === "ENOENT")) { | ||
$ctx0.next = 10; | ||
@@ -434,3 +434,3 @@ break; | ||
throw new Error('file "' + filename + '" does not exist.'); | ||
throw new Error("file \"" + filename + "\" does not exist."); | ||
case 10: | ||
@@ -473,3 +473,3 @@ throw $ctx0.t0; | ||
if (!($ctx1.t1.code === 'ENOENT')) { | ||
if (!($ctx1.t1.code === "ENOENT")) { | ||
$ctx1.next = 9; | ||
@@ -476,0 +476,0 @@ break; |
@@ -15,3 +15,3 @@ | ||
var err = syntaxError(string, file.filename); | ||
if (err) return done(err); | ||
if (err) return done(new Error(err.toString())); | ||
} | ||
@@ -18,0 +18,0 @@ |
{ | ||
"name": "component-builder", | ||
"description": "builder for component", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"author": { | ||
@@ -20,3 +20,3 @@ "name": "Jonathan Ong", | ||
"css-url-rewriter": "~0.0.1", | ||
"syntax-error": "^1.1.0", | ||
"syntax-error": "^1.1.1", | ||
"requires": "^1.0.0", | ||
@@ -23,0 +23,0 @@ "graceful-fs": "^2.0.1", |
204785
Updatedsyntax-error@^1.1.1