@wocker/core 1.1.2-beta.0 → 1.1.2-beta.1

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.
@@ -7,6 +7,8 @@ export declare class ProcessService {
7
7
  get stdin(): NodeJS.ReadStream;
8
8
  get stdout(): NodeJS.WriteStream;
9
9
  get stderr(): NodeJS.WriteStream;
10
+ get exitCode(): number | string | undefined | null;
11
+ set exitCode(exitCode: number | string | undefined | null);
10
12
  pwd(path?: string): string;
11
13
  cd(path: string): void;
12
14
  chdir(path: string): void;
@@ -39,7 +39,13 @@ let ProcessService = class ProcessService {
39
39
  return process.stdout;
40
40
  }
41
41
  get stderr() {
42
- return process.stdout;
42
+ return process.stderr;
43
+ }
44
+ get exitCode() {
45
+ return process.exitCode;
46
+ }
47
+ set exitCode(exitCode) {
48
+ process.exitCode = exitCode;
43
49
  }
44
50
  pwd(path = "") {
45
51
  return path_1.default.join(process.cwd(), path);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wocker/core",
3
3
  "type": "commonjs",
4
- "version": "1.1.2-beta.0",
4
+ "version": "1.1.2-beta.1",
5
5
  "author": "Kris Papercut <krispcut@gmail.com>",
6
6
  "description": "Core of the Wocker",
7
7
  "license": "MIT",