diff --git a/src/github.hml b/src/github.hml index b882dbb..69670ed 100644 --- a/src/github.hml +++ b/src/github.hml @@ -5,7 +5,7 @@ import { parse } from "@stdlib/json"; import * as env from "@stdlib/env"; import { exists, read_file, write_file } from "@stdlib/fs"; import { sleep, now } from "@stdlib/time"; -import { getpid } from "@stdlib/process"; +import { get_pid } from "@stdlib/process"; // Retry configuration let MAX_RETRIES = 4; @@ -13,7 +13,7 @@ let INITIAL_BACKOFF_MS = 1000; // 1 second // Generate a unique suffix for temp files using PID and timestamp fn unique_suffix(): string { - let pid = getpid(); + let pid = get_pid(); let ts = now(); return "" + pid + "_" + ts; } diff --git a/src/installer.hml b/src/installer.hml index bae00c7..dda57fd 100644 --- a/src/installer.hml +++ b/src/installer.hml @@ -2,7 +2,7 @@ import { exists, read_file, write_file, make_dir, remove_dir, list_dir, is_dir } from "@stdlib/fs"; import { sha256 } from "@stdlib/hash"; -import { fork, waitpid, exec, getpid } from "@stdlib/process"; +import { fork, waitpid, exec, get_pid } from "@stdlib/process"; import { exit } from "@stdlib/env"; import { now } from "@stdlib/time"; @@ -15,7 +15,7 @@ let MAX_PARALLEL_DOWNLOADS = 4; // Generate a unique suffix for temp directories using PID and timestamp fn unique_suffix(): string { - let pid = getpid(); + let pid = get_pid(); let ts = now(); return "" + pid + "_" + ts; }