openclaw-plugin-vt-sentinel 0.8.4 → 0.8.5
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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -152,8 +152,8 @@ function generateUpdateCommands(opts) {
|
|
|
152
152
|
const singleQuote = (s) => "'" + s.replace(/'/g, "'\\''") + "'";
|
|
153
153
|
// Double-quote for shell: escape \, ", $, ` (all chars bash expands inside "")
|
|
154
154
|
const doubleQuote = (s) => '"' + s.replace(/\\/g, '\\\\').replace(/"/g, '\\"').replace(/\$/g, '\\$').replace(/`/g, '\\`') + '"';
|
|
155
|
-
// For JS string inside shell double-quoted node -e: escape \, ', $, `
|
|
156
|
-
const jsInShellDq = (s) => s.replace(/\\/g, '\\\\').replace(/'/g, "\\'").replace(/\$/g, '\\$').replace(/`/g, '\\`');
|
|
155
|
+
// For JS string inside shell double-quoted node -e: escape \, ", ', $, `
|
|
156
|
+
const jsInShellDq = (s) => s.replace(/\\/g, '\\\\').replace(/"/g, '\\"').replace(/'/g, "\\'").replace(/\$/g, '\\$').replace(/`/g, '\\`');
|
|
157
157
|
const lines = [];
|
|
158
158
|
lines.push(`Upgrade: v${opts.currentVersion} → v${opts.latestVersion}`);
|
|
159
159
|
lines.push('');
|
package/package.json
CHANGED