Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
fix(config): addressing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dnoishi committed Oct 5, 2022
1 parent 39e898f commit 05880fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,7 @@ class Config {
* @param {IConfig} - config object to store as config file
*/
private async write(config: IConfig): Promise<void> {
return await this.writeFile(this.configFullPath, config).catch(error => {
throw error;
});
return this.writeFile(this.configFullPath, config);
}

/**
Expand Down

0 comments on commit 05880fb

Please sign in to comment.