diff --git a/.travis.yml b/.travis.yml index eae14e3..169f0e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: node_js +sudo: false node_js: - 0.10 before_script: diff --git a/lib/helpers.js b/lib/helpers.js index 2405c5f..b83f799 100644 --- a/lib/helpers.js +++ b/lib/helpers.js @@ -21,5 +21,5 @@ exports.isGitURL = function (str) { */ exports.isBinaryFile = function (src) { - return isBinaryFile(src); + return isBinaryFile.sync(src); } diff --git a/package.json b/package.json index 83f46f3..1b957c7 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "bluebird": "^2.9.27", "coffee-script": "^1.9.3", "ejs": "^2.3.1", - "isbinaryfile": "^2.0.4", + "isbinaryfile": "^3.0.0", "js-yaml": "^3.3.1", "lodash": "^3.9.3", "minimatch": "^3.0.0",