We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67dcaef commit 203ddaeCopy full SHA for 203ddae
script/lib/create-debian-package.js
@@ -210,7 +210,7 @@ module.exports = function(packagedAppPath) {
210
}
211
// use sudo if available to speed up build
212
let sudoCommand = 'fakeroot';
213
- if (process.env.CI === true || (process.getuid && process.getuid() === 0)) {
+ if (process.env.CI || (process.getuid && process.getuid() === 0)) {
214
sudoCommand = 'sudo';
215
216
spawnSync(
0 commit comments