From 7b978c3bea8de5bff5072fa94e78c9c597c9c641 Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 2 Feb 2023 19:23:39 -0300 Subject: [PATCH] arreglar imports --- alpine.ts | 2 +- helpers/sudo.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]);