ignore: fix file read with diff

This commit is contained in:
Dax Raad
2025-07-01 20:06:11 -04:00
parent b199a609a8
commit c68aeed8d9
2 changed files with 25 additions and 17 deletions

View File

@@ -1,7 +1,6 @@
import { File } from "../../../file"
import { bootstrap } from "../../bootstrap"
import { cmd } from "../cmd"
import path from "path"
export const FileCommand = cmd({
command: "file",
@@ -19,7 +18,7 @@ const FileReadCommand = cmd({
}),
async handler(args) {
await bootstrap({ cwd: process.cwd() }, async () => {
const content = await File.read(path.resolve(args.path))
const content = await File.read(args.path)
console.log(content)
})
},