@joystick.js/cli-canary 0.0.0-canary.109 → 0.0.0-canary.110
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.
package/dist/lib/dev/runTests.js
CHANGED
|
@@ -2,6 +2,7 @@ import child_process from "child_process";
|
|
|
2
2
|
import CLILog from "../CLILog.js";
|
|
3
3
|
const handleAvaSTDERR = (stderr = "") => {
|
|
4
4
|
try {
|
|
5
|
+
console.log("STDERR", stderr);
|
|
5
6
|
if (stderr?.includes("Using configuration")) {
|
|
6
7
|
return null;
|
|
7
8
|
}
|
|
@@ -17,7 +18,7 @@ const handleAvaSTDERR = (stderr = "") => {
|
|
|
17
18
|
};
|
|
18
19
|
const handleAvaSTDOUT = (stdout = "") => {
|
|
19
20
|
try {
|
|
20
|
-
console.log(stdout);
|
|
21
|
+
console.log("STDOUT", stdout);
|
|
21
22
|
} catch (exception) {
|
|
22
23
|
throw new Error(`[actionName.handleAvaSTDOUT] ${exception.message}`);
|
|
23
24
|
}
|
package/package.json
CHANGED
package/src/lib/dev/runTests.js
CHANGED
|
@@ -3,6 +3,8 @@ import CLILog from "../CLILog.js";
|
|
|
3
3
|
|
|
4
4
|
const handleAvaSTDERR = (stderr = '') => {
|
|
5
5
|
try {
|
|
6
|
+
console.log('STDERR', stderr);
|
|
7
|
+
|
|
6
8
|
// NOTE: Squash output about using a configuration file (we always do in the framework).
|
|
7
9
|
if (stderr?.includes('Using configuration')) {
|
|
8
10
|
return null;
|
|
@@ -21,7 +23,7 @@ const handleAvaSTDERR = (stderr = '') => {
|
|
|
21
23
|
|
|
22
24
|
const handleAvaSTDOUT = (stdout = '') => {
|
|
23
25
|
try {
|
|
24
|
-
console.log(stdout);
|
|
26
|
+
console.log('STDOUT', stdout);
|
|
25
27
|
} catch (exception) {
|
|
26
28
|
throw new Error(`[actionName.handleAvaSTDOUT] ${exception.message}`);
|
|
27
29
|
}
|