Skip to content

Commit

Permalink
fix: wrong position of double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
chensuifengran committed Oct 25, 2024
1 parent 97a579a commit 0ceb35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/invokes/FS/rename/modelCallback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ export const modelCallback = async (
selfModule.document!.example!.code = `const res = await rename("${oldPath.replace(
/\\/g,
"\\\\"
)}", "${newPath.replace(/\\/g, "\\\\")})"`;
)}", "${newPath.replace(/\\/g, "\\\\")}")`;
testModuleCtx.showDetails(JSON.stringify(res), "FS.rename");
};

0 comments on commit 0ceb35e

Please sign in to comment.