From 05880fbd6028ec444205ba15343033cfc879610c Mon Sep 17 00:00:00 2001 From: Natacha De la Rosa Date: Wed, 5 Oct 2022 09:04:37 -0400 Subject: [PATCH] fix(config): addressing comments --- src/lib/config.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/config.ts b/src/lib/config.ts index 655d3a7a..146f7ef6 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -115,9 +115,7 @@ class Config { * @param {IConfig} - config object to store as config file */ private async write(config: IConfig): Promise { - return await this.writeFile(this.configFullPath, config).catch(error => { - throw error; - }); + return this.writeFile(this.configFullPath, config); } /**