Skip to content

Commit

Permalink
docs: fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Aug 20, 2024
1 parent 6049df6 commit ffa7f59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ export const getConfigs = async (customPath?: string) => {

// jsonc.min will parse both JSON and JSONC extensions, even if there is no extension.
return JSONC.parse(configsFile);
} catch {
return {};
}
} catch {}

return {};
}
};
```
Expand Down

0 comments on commit ffa7f59

Please sign in to comment.