@openfn/cli 0.4.9 → 0.4.11
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/process/runner.js +2 -2
- package/package.json +3 -3
package/dist/process/runner.js
CHANGED
|
@@ -638,12 +638,12 @@ var executeHandler = async (options, logger) => {
|
|
|
638
638
|
const result = await execute_default(input, state, options);
|
|
639
639
|
await serialize_output_default(options, result, logger);
|
|
640
640
|
const duration = printDuration((/* @__PURE__ */ new Date()).getTime() - start);
|
|
641
|
-
if (result
|
|
641
|
+
if (result?.errors) {
|
|
642
642
|
logger.warn(
|
|
643
643
|
`Errors reported in ${Object.keys(result.errors).length} jobs`
|
|
644
644
|
);
|
|
645
645
|
}
|
|
646
|
-
logger.success(`Finished in ${duration}${result
|
|
646
|
+
logger.success(`Finished in ${duration}${result?.errors ? "" : " \u2728"}`);
|
|
647
647
|
return result;
|
|
648
648
|
} catch (err) {
|
|
649
649
|
if (!err.handled) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfn/cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.11",
|
|
4
4
|
"description": "CLI devtools for the openfn toolchain.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@openfn/compiler": "0.0.38",
|
|
48
48
|
"@openfn/deploy": "0.2.10",
|
|
49
49
|
"@openfn/describe-package": "0.0.18",
|
|
50
|
-
"@openfn/
|
|
51
|
-
"@openfn/
|
|
50
|
+
"@openfn/logger": "0.0.19",
|
|
51
|
+
"@openfn/runtime": "0.2.2"
|
|
52
52
|
},
|
|
53
53
|
"files": [
|
|
54
54
|
"dist",
|