aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2021-12-28 23:42:29 +0100
committer0neGal <mail@0negal.com>2021-12-28 23:42:29 +0100
commit68436a5e96dcd75fa3e196727a8318fcc9a0dde0 (patch)
tree6111965f2212eb9a4c946e5ab76b8b92b2210d47 /src
parentfccb5815decce6257b8f04cb842a40d6d02110e7 (diff)
downloadViper-68436a5e96dcd75fa3e196727a8318fcc9a0dde0.tar.gz
Viper-68436a5e96dcd75fa3e196727a8318fcc9a0dde0.zip
removed unneeded spread operator
Diffstat (limited to 'src')
-rw-r--r--src/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.js b/src/utils.js
index 85ce5ce..ff71660 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -43,7 +43,7 @@ function setpath(win) {
}).catch(err => {console.error(err)})
}
- fs.writeFileSync(app.getPath("appData") + "/viper.json", JSON.stringify({...settings}));
+ fs.writeFileSync(app.getPath("appData") + "/viper.json", JSON.stringify(settings));
cli.exit();
}