diff --git a/alpine.ts b/alpine.ts index fd2f55a..4203652 100644 --- a/alpine.ts +++ b/alpine.ts @@ -11,7 +11,7 @@ import { import { tmpdir } from "node:os"; import path from "node:path"; import { cwd } from "node:process"; -import { execFile } from "./helpers/better-api"; +import { execFile } from "./helpers/better-api.js"; export class Alpine { dir: string; diff --git a/helpers/sudo.ts b/helpers/sudo.ts index bc383d2..48b38c3 100644 --- a/helpers/sudo.ts +++ b/helpers/sudo.ts @@ -1,5 +1,5 @@ import { getuid } from "node:process"; -import { execFile } from "./better-api"; +import { execFile } from "./better-api.js"; export async function sudoChown(path: string, owner: string): Promise { await execFile("sudo", ["chown", owner, path]);