diff --git a/src/util.js b/src/util.js index dfb9025..c04884d 100644 --- a/src/util.js +++ b/src/util.js @@ -134,12 +134,12 @@ util.getTextReplacement = function( src, relativeTo, callback ) try { var replacement = util.getInlineFileContents( src, relativeTo ); - return callback( null, replacement ); } catch( err ) { return callback( err ); } + return callback( null, replacement ); } };