Skip to content

Commit

Permalink
fix: PACKAGE env not working bug (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxingkang authored May 12, 2021
1 parent d2895c9 commit 46bec62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/father-build/src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export async function buildForLerna(opts: IOpts) {

const dispose: Dispose[] = [];
for (const pkg of pkgs) {
if (process.env.PACKAGE && pkg !== process.env.PACKAGE) continue;
if (process.env.PACKAGE && basename(pkg.contents) !== process.env.PACKAGE) continue;
// build error when .DS_Store includes in packages root
const pkgPath = pkg.contents;
assert.ok(
Expand Down

0 comments on commit 46bec62

Please sign in to comment.