Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit e49ced0

Browse files
committed
fix(base): Add to --link command run linkNpmClear after run
1 parent 05b4c01 commit e49ced0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/lib/base.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ export class Base {
119119
this.log('link').debug('start');
120120
const items = [
121121
await this.linkNpmClear(customOptions),
122-
await this.linkDist(customOptions)
122+
await this.linkDist(customOptions),
123+
await this.linkNpmClear(customOptions)
123124
];
124125
this.log('link').debug('end');
125126
return items.reduce((all: boolean, current: boolean) => { return all && current; }, true);
@@ -128,7 +129,8 @@ export class Base {
128129
this.log('linkNpm').debug('start');
129130
const items = [
130131
await this.linkNpmClear(customOptions),
131-
await this.linkSrc(customOptions)
132+
await this.linkSrc(customOptions),
133+
await this.linkNpmClear(customOptions)
132134
];
133135
this.log('linkNpm').debug('end');
134136
return items.reduce((all: boolean, current: boolean) => { return all && current; }, true);

0 commit comments

Comments
 (0)