@sjawhar/pi-legion-envoy 5.17.0 → 5.17.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/legion.js +3 -3
- package/package.json +1 -1
package/dist/legion.js
CHANGED
|
@@ -33473,7 +33473,7 @@ import { logger } from "@oh-my-pi/pi-utils";
|
|
|
33473
33473
|
// package.json
|
|
33474
33474
|
var package_default = {
|
|
33475
33475
|
name: "@sjawhar/pi-legion-envoy",
|
|
33476
|
-
version: "5.17.
|
|
33476
|
+
version: "5.17.1",
|
|
33477
33477
|
type: "module",
|
|
33478
33478
|
omp: {
|
|
33479
33479
|
extensions: [
|
|
@@ -42774,8 +42774,8 @@ function checkRedirects(redirects, command, site, st, ctx) {
|
|
|
42774
42774
|
content = printfText(command.args, MAX_SCRIPT_BYTES, true) ?? null;
|
|
42775
42775
|
}
|
|
42776
42776
|
st.pidFiles.delete(file2);
|
|
42777
|
-
const before = appends ? st.files.get(file2) : "";
|
|
42778
|
-
st.files.set(file2, content === null || before === null ? null : readable(`${before
|
|
42777
|
+
const before = appends ? st.files.get(file2) ?? null : "";
|
|
42778
|
+
st.files.set(file2, content === null || before === null ? null : readable(`${before}${content}`));
|
|
42779
42779
|
if (writes && !appends && command?.name === "echo" && command.args.length === 1 && command.args[0]?.exp.length > 0 && command.args[0]?.exp.every((piece) => piece.descendantPid)) {
|
|
42780
42780
|
st.pidFiles.set(file2, command.args[0].exp);
|
|
42781
42781
|
}
|