@lvnt/release-radar-cli 0.2.9 → 0.2.10

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.
Files changed (2) hide show
  1. package/dist/updater.js +2 -8
  2. package/package.json +1 -1
package/dist/updater.js CHANGED
@@ -1,4 +1,4 @@
1
- import { execSync, spawn } from 'child_process';
1
+ import { execSync } from 'child_process';
2
2
  import { readFileSync } from 'fs';
3
3
  import { fileURLToPath } from 'url';
4
4
  import { dirname, join } from 'path';
@@ -40,13 +40,7 @@ export async function checkAndUpdate() {
40
40
  });
41
41
  if (result)
42
42
  console.log(result);
43
- console.log('Update complete. Restarting...\n');
44
- // Restart self with a fresh terminal
45
- const child = spawn(process.argv[0], process.argv.slice(1), {
46
- detached: true,
47
- stdio: 'inherit',
48
- });
49
- child.unref();
43
+ console.log('Update complete. Please run the command again.\n');
50
44
  process.exit(0);
51
45
  }
52
46
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvnt/release-radar-cli",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "Interactive CLI for downloading tools through Nexus proxy",
5
5
  "main": "dist/index.js",
6
6
  "bin": {