diff --git a/Gruntfile.js b/Gruntfile.js index 898bc47..90e5845 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -368,7 +368,7 @@ module.exports = function(grunt) { options: { stdout: true, stderr: true - } + } }, theme_iterm: { diff --git a/bin/dotfiles b/bin/dotfiles index df4b78e..362ce50 100755 --- a/bin/dotfiles +++ b/bin/dotfiles @@ -32,11 +32,13 @@ if (argv.length) { }); } else { + var pkg = require('../package.json'); + // If no arguments were passed, check for updates. var updateNotifier = require('update-notifier'), notifier = updateNotifier({ - packagePath: '../package.json', - updateCheckInterval: 1000 * 60 * 60 * 24 // 1 day + packageName: pkg.name, + packageVersion: pkg.version }); if (notifier.update) {