@staff0rd/assist 0.154.1 → 0.154.2
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/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.154.
|
|
9
|
+
version: "0.154.2",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -10622,12 +10622,12 @@ async function update() {
|
|
|
10622
10622
|
console.log("Building...");
|
|
10623
10623
|
execSync41("npm run build", { cwd: installDir, stdio: "inherit" });
|
|
10624
10624
|
console.log("Syncing commands...");
|
|
10625
|
-
execSync41("assist sync", { stdio: "inherit" });
|
|
10625
|
+
execSync41("assist sync --yes", { stdio: "inherit" });
|
|
10626
10626
|
} else if (isGlobalNpmInstall(installDir)) {
|
|
10627
10627
|
console.log("Detected global npm installation, updating...");
|
|
10628
10628
|
execSync41("npm i -g @staff0rd/assist@latest", { stdio: "inherit" });
|
|
10629
10629
|
console.log("Syncing commands...");
|
|
10630
|
-
execSync41("assist sync", { stdio: "inherit" });
|
|
10630
|
+
execSync41("assist sync --yes", { stdio: "inherit" });
|
|
10631
10631
|
} else {
|
|
10632
10632
|
console.error(
|
|
10633
10633
|
"Could not determine installation method. Expected a git repo or global npm install."
|