@workit-dev/pi 2.4.2 → 2.4.3
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/worker.js +1 -1
- package/dist/workit.js +3 -3
- package/package.json +1 -1
package/dist/worker.js
CHANGED
|
@@ -7098,7 +7098,7 @@ function resolveSshHost(alias, sshConfig) {
|
|
|
7098
7098
|
|
|
7099
7099
|
// packages/workit-core/src/core/account-home.ts
|
|
7100
7100
|
import { spawnSync as spawnSync3 } from "node:child_process";
|
|
7101
|
-
import { existsSync, readFileSync, realpathSync } from "node:fs";
|
|
7101
|
+
import { existsSync, readFileSync, readlinkSync, realpathSync } from "node:fs";
|
|
7102
7102
|
import os3 from "node:os";
|
|
7103
7103
|
var WINDOWS = "C:\\Windows";
|
|
7104
7104
|
var SYSTEM32 = `${WINDOWS}\\System32\\`;
|
package/dist/workit.js
CHANGED
|
@@ -8718,7 +8718,7 @@ function resolveSshHost(alias, sshConfig) {
|
|
|
8718
8718
|
|
|
8719
8719
|
// packages/workit-core/src/core/account-home.ts
|
|
8720
8720
|
import { spawnSync as spawnSync4 } from "node:child_process";
|
|
8721
|
-
import { existsSync as existsSync2, readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
8721
|
+
import { existsSync as existsSync2, readFileSync as readFileSync2, readlinkSync, realpathSync } from "node:fs";
|
|
8722
8722
|
import os3 from "node:os";
|
|
8723
8723
|
var WINDOWS = "C:\\Windows";
|
|
8724
8724
|
var SYSTEM32 = `${WINDOWS}\\System32\\`;
|
|
@@ -25768,7 +25768,7 @@ import {
|
|
|
25768
25768
|
existsSync as existsSync14,
|
|
25769
25769
|
readdirSync as readdirSync5,
|
|
25770
25770
|
readFileSync as readFileSync12,
|
|
25771
|
-
readlinkSync as
|
|
25771
|
+
readlinkSync as readlinkSync3,
|
|
25772
25772
|
realpathSync as realpathSync10,
|
|
25773
25773
|
statSync as statSync4
|
|
25774
25774
|
} from "node:fs";
|
|
@@ -25981,7 +25981,7 @@ var NONE3 = { kind: "none" };
|
|
|
25981
25981
|
var CASE_INSENSITIVE = process.platform === "darwin" || process.platform === "win32";
|
|
25982
25982
|
var linkTarget = (file) => {
|
|
25983
25983
|
try {
|
|
25984
|
-
const to =
|
|
25984
|
+
const to = readlinkSync3(file);
|
|
25985
25985
|
let from = path41.dirname(file);
|
|
25986
25986
|
try {
|
|
25987
25987
|
from = realpathSync10.native(from);
|