blun-king-cli 9.1.432 → 9.1.433
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/blun.mjs +1 -1
- package/package.json +1 -1
package/blun.mjs
CHANGED
|
@@ -504150,8 +504150,8 @@ function resolveEditorCommand(configured) {
|
|
|
504150
504150
|
async function editInExternalEditor(initialText, command) {
|
|
504151
504151
|
const dir = await mkdtemp(join(tmpdir(), "blun-edit-"));
|
|
504152
504152
|
const file = join(dir, "prompt.md");
|
|
504153
|
-
await writeFile(file, initialText, "utf-8");
|
|
504154
504153
|
try {
|
|
504154
|
+
await writeFile(file, initialText, "utf-8");
|
|
504155
504155
|
const shellCmd = `${command} ${quoteShellArg(file)}`;
|
|
504156
504156
|
if (await new Promise((resolve, reject) => {
|
|
504157
504157
|
const child = spawn(shellCmd, {
|