wayfind 2.0.24 → 2.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/team-context.js +2 -2
- package/package.json +1 -1
package/bin/team-context.js
CHANGED
|
@@ -4508,11 +4508,11 @@ const COMMANDS = {
|
|
|
4508
4508
|
const skipNpm = args.includes('--skip-npm');
|
|
4509
4509
|
if (!skipNpm) {
|
|
4510
4510
|
console.log('Updating wayfind from npm...');
|
|
4511
|
-
const npmResult = spawnSync('npm', ['
|
|
4511
|
+
const npmResult = spawnSync('npm', ['install', '-g', 'wayfind@latest'], {
|
|
4512
4512
|
stdio: 'inherit',
|
|
4513
4513
|
});
|
|
4514
4514
|
if (npmResult.error || (npmResult.status && npmResult.status !== 0)) {
|
|
4515
|
-
console.error('npm
|
|
4515
|
+
console.error('npm install failed. Try running: npm install -g wayfind@latest');
|
|
4516
4516
|
console.error('Then re-run: wayfind update --skip-npm');
|
|
4517
4517
|
process.exit(1);
|
|
4518
4518
|
}
|
package/package.json
CHANGED