We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee50bb3 commit a13a8bdCopy full SHA for a13a8bd
1 file changed
src/formats/blueprint/codec.ts
@@ -395,7 +395,8 @@ export const BLUEPRINT_CODEC = registerDeletableHandlerPatch({
395
content: this.compile!(),
396
// eslint-disable-next-line @typescript-eslint/naming-convention
397
custom_writer: (content: string, path: string) => {
398
- if (fs.existsSync(PathModule.dirname(path))) {
+ const { existsSync } = getFsModule()
399
+ if (existsSync(PathModule.dirname(path))) {
400
Project!.save_path = path
401
this.write!(content, path)
402
} else {
0 commit comments