arreglar imports
This commit is contained in:
parent
6e3ab48720
commit
7b978c3bea
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ import {
|
||||||
import { tmpdir } from "node:os";
|
import { tmpdir } from "node:os";
|
||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
import { cwd } from "node:process";
|
import { cwd } from "node:process";
|
||||||
import { execFile } from "./helpers/better-api";
|
import { execFile } from "./helpers/better-api.js";
|
||||||
|
|
||||||
export class Alpine {
|
export class Alpine {
|
||||||
dir: string;
|
dir: string;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { getuid } from "node:process";
|
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<void> {
|
export async function sudoChown(path: string, owner: string): Promise<void> {
|
||||||
await execFile("sudo", ["chown", owner, path]);
|
await execFile("sudo", ["chown", owner, path]);
|
||||||
|
|
Loading…
Reference in a new issue