dcp-worker 3.2.28-0 → 3.2.28-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/dcp-worker +2 -3
- package/package.json +1 -1
package/bin/dcp-worker
CHANGED
|
@@ -270,7 +270,7 @@ async function main()
|
|
|
270
270
|
const dcpWorkerOptions = dcpConfig.worker;
|
|
271
271
|
const forceOptions = {
|
|
272
272
|
paymentAddress,
|
|
273
|
-
leavePublicGroup: cliArgs.leavePublicGroup || dcpConfig.worker.leavePublicGroup ||
|
|
273
|
+
leavePublicGroup: cliArgs.leavePublicGroup || (dcpConfig.worker.leavePublicGroup === 'true') || (dcpConfig.worker.leavePublicGroup === true) || false,
|
|
274
274
|
maxWorkingSandboxes: cliArgs.cores,
|
|
275
275
|
};
|
|
276
276
|
const defaultOptions = {
|
|
@@ -648,8 +648,7 @@ function verifyDefaultConfigIntegrity()
|
|
|
648
648
|
console.warn(' - the Windows Registry');
|
|
649
649
|
|
|
650
650
|
// md5 calculation is incorrect on Windows. Possibly git/npm mangling line-endings?
|
|
651
|
-
|
|
652
|
-
if (os?.platform() === 'win32')
|
|
651
|
+
if (require('os').platform() === 'win32')
|
|
653
652
|
return;
|
|
654
653
|
|
|
655
654
|
if (require('dcp/build').config.build !== 'debug')
|