ic-mops 0.7.2 → 0.7.4

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.
Files changed (2) hide show
  1. package/commands/test.js +3 -3
  2. package/package.json +1 -1
package/commands/test.js CHANGED
@@ -42,8 +42,8 @@ export async function test({watch = false} = {}) {
42
42
  run();
43
43
  }
44
44
  else {
45
- let failed = await runAll();
46
- if (failed) {
45
+ let passed = await runAll();
46
+ if (!passed) {
47
47
  process.exit(1);
48
48
  }
49
49
  }
@@ -103,7 +103,7 @@ export async function runAll() {
103
103
  // stderr
104
104
  proc.stderr.on('data', (data) => {
105
105
  let text = data.toString().trim();
106
- text = text.replace(/:(\d+).(\d+)(-\d+.\d+)/, ':$1:$2');
106
+ text = text.replace(/:(\d+).(\d+)(-\d+.\d+)/g, ':$1:$2');
107
107
  mmf1.fail(text);
108
108
  });
109
109
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ic-mops",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mops": "cli.js"