@midscene/cli 1.6.1-beta-20260331083547.0 → 1.6.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.
- package/dist/es/index.mjs +11 -3
- package/dist/es/index.mjs.map +1 -1
- package/dist/lib/index.js +11 -3
- package/dist/lib/index.js.map +1 -1
- package/package.json +7 -7
package/dist/es/index.mjs
CHANGED
|
@@ -3022,7 +3022,9 @@ var __webpack_modules__ = {
|
|
|
3022
3022
|
"./src/index.ts" (__unused_rspack_module, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
3023
3023
|
var main = __webpack_require__("../../node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js");
|
|
3024
3024
|
var main_default = /*#__PURE__*/ __webpack_require__.n(main);
|
|
3025
|
-
var package_namespaceObject =
|
|
3025
|
+
var package_namespaceObject = {
|
|
3026
|
+
rE: "1.6.1"
|
|
3027
|
+
};
|
|
3026
3028
|
class Node {
|
|
3027
3029
|
value;
|
|
3028
3030
|
next;
|
|
@@ -3980,6 +3982,12 @@ var __webpack_modules__ = {
|
|
|
3980
3982
|
if (player.reportFile) reportFile = player.reportFile;
|
|
3981
3983
|
let outputPath = player.output || void 0;
|
|
3982
3984
|
if (outputPath && !(0, __rspack_external_node_fs_5ea92f0c.existsSync)(outputPath)) outputPath = void 0;
|
|
3985
|
+
let errorMessage;
|
|
3986
|
+
if (player.errorInSetup?.message) errorMessage = player.errorInSetup.message;
|
|
3987
|
+
else if (hasPlayerError || hasFailedTasks) {
|
|
3988
|
+
const taskErrors = player.taskStatusList?.filter((task)=>'error' === task.status && task.error?.message).map((task)=>task.error.message);
|
|
3989
|
+
errorMessage = taskErrors && taskErrors.length > 0 ? taskErrors.join('; ') : hasPlayerError ? 'Execution failed' : 'Some tasks failed';
|
|
3990
|
+
}
|
|
3983
3991
|
results.push({
|
|
3984
3992
|
file,
|
|
3985
3993
|
success,
|
|
@@ -3988,7 +3996,7 @@ var __webpack_modules__ = {
|
|
|
3988
3996
|
report: reportFile,
|
|
3989
3997
|
duration,
|
|
3990
3998
|
resultType,
|
|
3991
|
-
error:
|
|
3999
|
+
error: errorMessage
|
|
3992
4000
|
});
|
|
3993
4001
|
}
|
|
3994
4002
|
for (const context of notExecutedContexts)results.push({
|
|
@@ -11955,7 +11963,7 @@ Usage:
|
|
|
11955
11963
|
type: 'boolean',
|
|
11956
11964
|
description: `Turn on logging to help debug why certain keys or values are not being set as you expect, default is ${config_factory_defaultConfig.dotenvDebug}`
|
|
11957
11965
|
}
|
|
11958
|
-
}).version('version', 'Show version number', "1.6.1
|
|
11966
|
+
}).version('version', 'Show version number', "1.6.1").help().epilogue(`For complete list of configuration options, please visit:
|
|
11959
11967
|
• Web options: https://midscenejs.com/automate-with-scripts-in-yaml#the-web-part
|
|
11960
11968
|
• Android options: https://midscenejs.com/automate-with-scripts-in-yaml#the-android-part
|
|
11961
11969
|
• iOS options: https://midscenejs.com/automate-with-scripts-in-yaml#the-ios-part
|