plugins: rename .hyperterm_modules to .hyperterm_plugins

This commit is contained in:
Guillermo Rauch 2016-07-13 21:26:11 -07:00
parent 0f17741162
commit 0ce6df417b

View file

@ -13,8 +13,8 @@ const notify = require('./notify');
const cache = new Config(); const cache = new Config();
// modules path // modules path
const path = resolve(homedir(), '.hyperterm_modules'); const path = resolve(homedir(), '.hyperterm_plugins');
const localPath = resolve(homedir(), '.hyperterm_modules', 'local'); const localPath = resolve(homedir(), '.hyperterm_plugins', 'local');
// init plugin directories if not present // init plugin directories if not present
mkdirpSync(path); mkdirpSync(path);
@ -60,7 +60,7 @@ function updatePlugins ({ force = false } = {}) {
console.error(err.stack); console.error(err.stack);
notify( notify(
'Error updating plugins.', 'Error updating plugins.',
'Check `~/.hyperterm_modules/npm-debug.log` for more information.' 'Check `~/.hyperterm_plugins/npm-debug.log` for more information.'
); );
} else { } else {
// flag successful plugin update // flag successful plugin update