Skip to content

Commit 203ddae

Browse files
committed
fix process.env.CI
1 parent 67dcaef commit 203ddae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/lib/create-debian-package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ module.exports = function(packagedAppPath) {
210210
}
211211
// use sudo if available to speed up build
212212
let sudoCommand = 'fakeroot';
213-
if (process.env.CI === true || (process.getuid && process.getuid() === 0)) {
213+
if (process.env.CI || (process.getuid && process.getuid() === 0)) {
214214
sudoCommand = 'sudo';
215215
}
216216
spawnSync(

0 commit comments

Comments
 (0)