datagrok-tools 4.7.5 → 4.7.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.
@@ -264,8 +264,10 @@ function test(args) {
264
264
  if (r.failed) {
265
265
  console.log(r.failReport);
266
266
  color.fail('Tests failed.');
267
+ testUtils.exitWithCode(1);
267
268
  } else {
268
269
  color.success('Tests passed.');
270
+ testUtils.exitWithCode(0);
269
271
  } //@ts-ignore
270
272
 
271
273
 
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "__esModule", {
8
8
  value: true
9
9
  });
10
10
  exports.defaultLaunchParameters = void 0;
11
+ exports.exitWithCode = exitWithCode;
11
12
  exports.getBrowserPage = getBrowserPage;
12
13
  exports.getDevKey = getDevKey;
13
14
  exports.getToken = getToken;
@@ -285,4 +286,9 @@ function runWithTimeout(timeout, f) {
285
286
  return _ref.apply(this, arguments);
286
287
  };
287
288
  }());
289
+ }
290
+
291
+ function exitWithCode(code) {
292
+ console.log("Exiting with code ".concat(code));
293
+ process.exit(code);
288
294
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datagrok-tools",
3
- "version": "4.7.5",
3
+ "version": "4.7.6",
4
4
  "description": "Utility to upload and publish packages to Datagrok",
5
5
  "homepage": "https://github.com/datagrok-ai/public/tree/master/tools#readme",
6
6
  "dependencies": {