Skip to content

Commit

Permalink
fix: trigger force release
Browse files Browse the repository at this point in the history
  • Loading branch information
psanders committed Feb 15, 2024
1 parent 67e24db commit 471c5c1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mods/edgeport/src/config/fs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ export const isFile = (path: string) => new JFile(path).isFile()
* Reads a file and returns a JSON object or throws an error.
* The file must be a valid JSON, YAML, or TOML file.
*
* @param {string} path - The path to the file.
* @return {object} The JSON object.
* @throws {Error} If the file is not a valid JSON, YAML, or TOML file.
* @throws {Error} If the file does not exist.
* @throws {Error} If the file is not readable.
* @throws {Error} If the file is empty.
* @param {string} path - The path to the file
* @return {object} The JSON object
* @throws {Error} If the file is not a valid JSON, YAML, or TOML file
* @throws {Error} If the file does not exist
* @throws {Error} If the file is not readable
* @throws {Error} If the file is empty
*/
export const readConfigFile = (path: string): JsonObject => {
if (!exists(path) || !isFile(path)) {
Expand Down

0 comments on commit 471c5c1

Please sign in to comment.