Skip to content

Commit

Permalink
chore: remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding authored Nov 18, 2024
1 parent 0ac28b2 commit a1d7b67
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/fs-utils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ export function outputFileSync(file, ...args) {
writeFileSync(file, ...args);
}

export function pathExistsSync(path) {
return existsSync(path);
}

export function readJSONSync(file, options = {}) {
if (typeof options === 'string') {
options = { encoding: options };
Expand Down Expand Up @@ -59,4 +55,4 @@ export function writeJsonSync(file, obj, options = {}) {
const str = stringify(obj, options);
// not sure if fs.writeFileSync returns anything, but just in case
return writeFileSync(file, str, options);
}
}

0 comments on commit a1d7b67

Please sign in to comment.