From d69190fe8ad4ea0ed3dd4a390541677b11074112 Mon Sep 17 00:00:00 2001 From: Ricardo Tomasi Date: Sat, 18 May 2013 02:18:45 -0300 Subject: [PATCH] skip output path resolving if dest is undefined --- flour.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flour.coffee b/flour.coffee index 2e8df41..9501d47 100644 --- a/flour.coffee +++ b/flour.coffee @@ -126,7 +126,7 @@ success = (dest, file, output, sourceMap, action, cb) -> dest = undefined # Handle special path cases - dest = do -> + if dest isnt undefined then dest = do -> # Destination is `*` or nil, use file's own path # (`compile 'file.js', '*'`) return file.target() if dest in ['*', '.', ''] or dest is null