Skip to content

Commit

Permalink
fix: load config in factory's constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
neikvon committed Sep 15, 2020
1 parent 3b8c397 commit 160adc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ export abstract class Factory extends BaseClass {
constructor(rootDir = '') {
super()
this.rootDir = rootDir
this.loadConfig()
// this.version = new Version(this.rootDir)
}

public init() {
this.loadConfig()
this.version = new Version(this.id, this.rootDir)

// get version number
Expand Down

0 comments on commit 160adc2

Please sign in to comment.