dcp-worker 4.2.4 → 4.2.6

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.
@@ -564,9 +564,9 @@ async function main()
564
564
 
565
565
  case 'P':
566
566
  {
567
- const re = new RegExp(`^${defaultPrefix}/`);
567
+ const re = new RegExp('^(--prefix=).*$');
568
568
  for (let i=0; i < daemonConfig.argv.length; i++)
569
- daemonConfig.argv[i] = daemonConfig.argv[i].replace(re, path.resolve(option.optarg + '/'));
569
+ daemonConfig.argv[i] = daemonConfig.argv[i].replace(re, '$1' + path.resolve(option.optarg + '/'));
570
570
  break;
571
571
  }
572
572
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcp-worker",
3
- "version": "4.2.4",
3
+ "version": "4.2.6",
4
4
  "description": "Node.js Worker for Distributive Compute Platform",
5
5
  "main": "bin/dcp-worker",
6
6
  "keywords": [
@@ -39,7 +39,7 @@
39
39
  "blessed": "0.1.81",
40
40
  "blessed-contrib": "4.11.0",
41
41
  "chalk": "^4.1.0",
42
- "dcp-client": "^5.1.5",
42
+ "dcp-client": "^5.1.8",
43
43
  "kvin": "^1.2.7",
44
44
  "posix-getopt": "^1.2.1",
45
45
  "semver": "^7.3.8",