Skip to content

Commit

Permalink
Add a comment about the unit conversion
Browse files Browse the repository at this point in the history
refs #56
  • Loading branch information
mondwan authored and Mond Wan committed Jan 23, 2017
1 parent 76467ed commit 944545c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/builder/win.js
Expand Up @@ -50,6 +50,9 @@ builder.getResult = function (target, config) {
}

if (_config.timeout) {
// refs #56: Unit problem
// Our timeout is in second while timeout in window is in milliseconds
// so we need to convert our units accordingly
ret = ret.concat([
'-w',
util.format('%d', _config.timeout * 1000),
Expand Down

0 comments on commit 944545c

Please sign in to comment.