Skip to content

Commit

Permalink
fix(plugin): replace : with _ to prevent issue on Windows, fix #256
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Aug 23, 2022
1 parent fb23942 commit 69c41c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/histoire/src/node/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class BasePluginApi implements PluginApiBase {
) { }

get pluginTempDir () {
return path.resolve(TEMP_PATH, 'plugins', this.plugin.name)
return path.resolve(TEMP_PATH, 'plugins', this.plugin.name.replace(/:/g, '_'))
}

log (...msg) {
Expand Down

0 comments on commit 69c41c5

Please sign in to comment.