@wocker/core 1.0.30-beta.1 → 1.0.31-beta.0
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.
|
@@ -13,6 +13,15 @@ exports.ProcessService = void 0;
|
|
|
13
13
|
const path_1 = __importDefault(require("path"));
|
|
14
14
|
const decorators_1 = require("../decorators");
|
|
15
15
|
let ProcessService = class ProcessService {
|
|
16
|
+
get stdin() {
|
|
17
|
+
return process.stdin;
|
|
18
|
+
}
|
|
19
|
+
get stdout() {
|
|
20
|
+
return process.stdout;
|
|
21
|
+
}
|
|
22
|
+
get stderr() {
|
|
23
|
+
return process.stdout;
|
|
24
|
+
}
|
|
16
25
|
pwd(path = "") {
|
|
17
26
|
return path_1.default.join(process.cwd(), path);
|
|
18
27
|
}
|
|
@@ -23,7 +32,7 @@ let ProcessService = class ProcessService {
|
|
|
23
32
|
process.chdir(path);
|
|
24
33
|
}
|
|
25
34
|
write(chunk) {
|
|
26
|
-
return
|
|
35
|
+
return this.stdout.write(chunk);
|
|
27
36
|
}
|
|
28
37
|
};
|
|
29
38
|
exports.ProcessService = ProcessService;
|