Skip to content

Commit 1cc4862

Browse files
committed
Change require to import for FS and Remove Test
1 parent c6b64ce commit 1cc4862

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/converters/dasel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import fs from "fs";
12
import { execFile as execFileOriginal } from "node:child_process";
23
import { ExecFileFn } from "./types";
34

@@ -24,7 +25,6 @@ export async function convert(
2425
args.push("--read", fileType);
2526
args.push("--write", convertTo);
2627

27-
const fs = require("fs");
2828
return new Promise((resolve, reject) => {
2929
execFile("dasel", args, (error, stdout, stderr) => {
3030
if (error) {

tests/converters/dasel.test.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)