test(package): preserve unrelated symlink config
This commit is contained in:
@@ -450,7 +450,7 @@ try {
|
|||||||
(await readFile(cursorConfig, "utf8")) !== "malformed"
|
(await readFile(cursorConfig, "utf8")) !== "malformed"
|
||||||
)
|
)
|
||||||
throw new Error("packaged setup failure recovery did not preserve input");
|
throw new Error("packaged setup failure recovery did not preserve input");
|
||||||
await writeFile(cursorConfig, "{}\n");
|
await writeFile(cursorConfig, '{"existing":true}\n');
|
||||||
const recoveredExecution = await runWithStatus(
|
const recoveredExecution = await runWithStatus(
|
||||||
cli,
|
cli,
|
||||||
["setup", "--yes", "--json"],
|
["setup", "--yes", "--json"],
|
||||||
|
|||||||
Reference in New Issue
Block a user