mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 14:08:41 -09:00
plugins: rename .hyperterm_modules to .hyperterm_plugins
This commit is contained in:
parent
0f17741162
commit
0ce6df417b
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue