Skip to content

Commit

Permalink
🐛 Fix: unregisterPlugin's bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Molunerfinn committed Jun 27, 2020
1 parent 444a42f commit 966bfd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/PluginLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class PluginLoader {
this.ctx.helper.beforeTransformPlugins.unregister(name)
this.ctx.helper.beforeUploadPlugins.unregister(name)
this.ctx.helper.afterUploadPlugins.unregister(name)
this.ctx.removeConfig('picgoPlugin', name)
this.ctx.removeConfig('picgoPlugins', name)
}

// get plugin by name
Expand Down

0 comments on commit 966bfd8

Please sign in to comment.