We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d726e3 commit f9704c4Copy full SHA for f9704c4
src/core/factory.ts
@@ -56,7 +56,7 @@ export abstract class Factory extends BaseClass {
56
57
public init(baseDir?: string, type?: FactoryType) {
58
this.baseDir = this.baseDir || baseDir || ''
59
- this.type = this.type || type || 'npm'
+ this.type = type ?? this.type
60
61
if (!this.baseDir) {
62
return
0 commit comments