mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-10-09 12:51:50 +08:00
Fix build condition
On the server the env var is defined but set to false.
This commit is contained in:
parent
b849793a72
commit
1f9c5120cd
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ async function lernaBootstrap() {
|
||||||
let lernaCmd = "lerna"
|
let lernaCmd = "lerna"
|
||||||
if (process.platform === "win32") { lernaCmd = "lerna.cmd" }
|
if (process.platform === "win32") { lernaCmd = "lerna.cmd" }
|
||||||
const args = ["bootstrap"]
|
const args = ["bootstrap"]
|
||||||
if (process.env.ONLY_CLIENT) {
|
if (process.env.ONLY_CLIENT === 'true') {
|
||||||
args.push("--ignore='cloud-*'")
|
args.push("--ignore='cloud-*'")
|
||||||
}
|
}
|
||||||
await spawn(path.join('node_modules', '.bin', lernaCmd), ["bootstrap"])
|
await spawn(path.join('node_modules', '.bin', lernaCmd), ["bootstrap"])
|
||||||
|
|
Loading…
Add table
Reference in a new issue