Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Unitialized variable log when watch is enabled and multiple file chan…

…ges are detected immediately.
  • Loading branch information...
commit 6a22799ae847dd671ada05ad29ea31e4ff579129 1 parent 4384c5e
@brandonramirez brandonramirez authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/buildr.coffee
View
8 lib/buildr.coffee
@@ -178,15 +178,15 @@ class Buildr
# Process
process: (next) ->
+ # Prepare
+ log = @log
+ next or= @config.buildHandler
+
# Check
if @processing
log 'info', 'Processing postponed'
return
@processing = true
-
- # Prepare
- log = @log
- next or= @config.buildHandler
# Log
log 'info', 'Processing started'
Please sign in to comment.
Something went wrong with that request. Please try again.