Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: added tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 3, 2018
1 parent b731ebc commit c0c8309
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export class Plugin implements IPlugin {
constructor(opts: Options) {
this.ignoreManifest = !!opts.ignoreManifest
this.type = opts.type || 'core'
this.tag = opts.tag
const root = findRoot(opts.name, opts.root)
if (!root) throw new Error(`could not find package.json with ${inspect(opts)}`)
if (Plugin.loadedPlugins[root]) return Plugin.loadedPlugins[root]
Expand Down

0 comments on commit c0c8309

Please sign in to comment.