Skip to content

Commit

Permalink
fix(wait): use params.time even if 0
Browse files Browse the repository at this point in the history
  • Loading branch information
yoannmoinet committed Feb 23, 2016
1 parent 5571dcc commit 6e78ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bots/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ var actions = {
log('timeout hidden', params.hidden, 'WARNING');
}, timeout);

} else if (params.time) {
} else if (params.time !== undefined) {

return casper.wait(params.time, function () {
log('waited for ', params.time, 'SUCCESS');
Expand Down

0 comments on commit 6e78ecc

Please sign in to comment.