Skip to content

Commit 6e77415

Browse files
committed
Merge pull request #2 from eedrah/patch-1
fix callback - pass error as first parameter
2 parents d65e9c5 + 75f7f6c commit 6e77415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function transform (filename, source, options, done) {
1414
}
1515
}, options || {}))
1616
} catch (e) {
17-
return done(null, e)
17+
return done(e)
1818
}
1919

2020
done(null, source)

0 commit comments

Comments
 (0)