@jeffusion/bungee-types 6.11.2 → 6.12.0
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/daemon-file.js +2 -2
- package/package.json +1 -1
package/dist/daemon-file.js
CHANGED
|
@@ -471,7 +471,7 @@ export function formatDaemonFileAclError(error) {
|
|
|
471
471
|
+ ` target_kind=${targetKind} exit_code=${exitCode}`;
|
|
472
472
|
}
|
|
473
473
|
function boundedElapsed(startedAt, deadlineMs) {
|
|
474
|
-
return Math.min(deadlineMs, Math.max(0,
|
|
474
|
+
return Math.min(deadlineMs, Math.max(0, Math.round(performance.now() - startedAt)));
|
|
475
475
|
}
|
|
476
476
|
function selectWindowsAclExecutable(environment) {
|
|
477
477
|
const programFiles = environment.ProgramFiles;
|
|
@@ -506,7 +506,7 @@ function processDiagnostic(operation, startedAt, phase, environment, deadlineMs,
|
|
|
506
506
|
};
|
|
507
507
|
}
|
|
508
508
|
async function runPowerShell(operation, script, environment, deadlineMs) {
|
|
509
|
-
const startedAt =
|
|
509
|
+
const startedAt = performance.now();
|
|
510
510
|
let phase = null;
|
|
511
511
|
let child;
|
|
512
512
|
try {
|