Skip to content

Commit

Permalink
fix: checkNewVersion Blocks dev and build Commands
Browse files Browse the repository at this point in the history
  • Loading branch information
cheezone committed Sep 19, 2024
1 parent 62e4c39 commit 037bc09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/plasmo/src/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { zipBundle } from "~features/manifest-factory/zip"

async function build() {
printHeader()
await checkNewVersion()
checkNewVersion()

process.env.NODE_ENV = "production"

Expand Down
2 changes: 1 addition & 1 deletion cli/plasmo/src/commands/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { createManifest } from "~features/manifest-factory/create-manifest"

async function dev() {
printHeader()
await checkNewVersion()
checkNewVersion()

process.env.NODE_ENV = "development"

Expand Down
2 changes: 1 addition & 1 deletion cli/plasmo/src/commands/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { zipBundle } from "~features/manifest-factory/zip"

async function packageCmd() {
printHeader()
await checkNewVersion()
checkNewVersion()

process.env.NODE_ENV = "production"

Expand Down

0 comments on commit 037bc09

Please sign in to comment.