Skip to content

Commit

Permalink
Allow empty string as scriptPath
Browse files Browse the repository at this point in the history
  • Loading branch information
frandiox committed Nov 8, 2023
1 parent 3b9f7a9 commit 98f0212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/plugins/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ export class CorePlugin extends Plugin<CoreOptions> implements CoreOptions {
globals,
additionalModules,
script: {
filePath: this.scriptPath || STRING_SCRIPT_PATH,
filePath: this.scriptPath ?? STRING_SCRIPT_PATH,
code: this.script,
},
};
Expand Down

0 comments on commit 98f0212

Please sign in to comment.