@brainervirus/workit-pi 1.0.6 → 1.0.7
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/workit.js +2 -2
- package/package.json +1 -1
package/dist/workit.js
CHANGED
|
@@ -11100,7 +11100,7 @@ async function runAuthorizedExternalAction(input, effect) {
|
|
|
11100
11100
|
const preflight = typeof contract.details === "object" && contract.details !== null && contract.details.outcome === "not_started";
|
|
11101
11101
|
const outcome = input.failureOutcome ?? (preflight ? "not_started" : "unknown");
|
|
11102
11102
|
const settled = settleWithRefresh(outcome, settle(outcome));
|
|
11103
|
-
if (!settled.ok
|
|
11103
|
+
if (!settled.ok)
|
|
11104
11104
|
return settled;
|
|
11105
11105
|
return contract;
|
|
11106
11106
|
}
|
|
@@ -16890,7 +16890,7 @@ var resolveExternalActionRequest = (root, request, preservedDateMs) => {
|
|
|
16890
16890
|
if (preview.error)
|
|
16891
16891
|
return failure("invalid_input", preview.error);
|
|
16892
16892
|
const target = String(preview.path);
|
|
16893
|
-
const relative = path16.relative(
|
|
16893
|
+
const relative = path16.relative(fs12.realpathSync(root), target).replaceAll(path16.sep, "/") || "CHANGELOG.md";
|
|
16894
16894
|
const normalized = {
|
|
16895
16895
|
operation: request.operation,
|
|
16896
16896
|
payload: {
|