gm-kilo 2.0.855 → 2.0.856
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/gm-kilo.mjs +1 -1
- package/package.json +1 -1
package/gm-kilo.mjs
CHANGED
|
@@ -205,7 +205,7 @@ export async function GmPlugin({ directory }) {
|
|
|
205
205
|
if (/^\s*git(?:\s|$)/.test(cmd)) return;
|
|
206
206
|
const m = cmd.match(/^exec(?::(\S+))?\n([\s\S]+)$/);
|
|
207
207
|
if (!m) {
|
|
208
|
-
output.args.command = "
|
|
208
|
+
output.args.command = "node -e \"process.stderr.write('Bash tool can only be used with exec syntax:\\n\\nexec[:lang]\\n<command>\\n\\nExamples:\\nexec\\nls -la\\n\\nexec:nodejs\\nconsole.log(hello)'); process.exit(1)\"";
|
|
209
209
|
return;
|
|
210
210
|
}
|
|
211
211
|
const rawLang = (m[1]||'').toLowerCase();
|