Skip to content

Commit

Permalink
Fix a bug where some errors were suppressed silently. Release 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
airhorns committed Oct 3, 2011
1 parent 3cb548a commit 25b3b22
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/muffin.js

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

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"author": "Harry Brundage <harry.brundage@jadedpixel.com> (http://shopify.com/)",
"name": "muffin",
"description": "Handy helpers for Cakefiles",
"version": "0.2.0",
"version": "0.2.1",
"homepage": "http://github.com/hornairs/muffin",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions src/muffin.coffee
Expand Up @@ -152,6 +152,7 @@ copyFile = (source, target, options = {}) ->
# Handy promise based file error handler, which is a simple wrapper for `notify`
handleFileError = (file, err, options = {}) ->
notify file, err.message, true unless options.notify == false
throw err

# Following 2 functions are stolen from Jitter, https://github.com/TrevorBurnham/Jitter/blob/master/src/jitter.coffee
# Compiles a script to a destination
Expand Down

0 comments on commit 25b3b22

Please sign in to comment.