diff options
author | 0neGal <mail@0negal.com> | 2021-12-28 23:42:29 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2021-12-28 23:42:29 +0100 |
commit | 68436a5e96dcd75fa3e196727a8318fcc9a0dde0 (patch) | |
tree | 6111965f2212eb9a4c946e5ab76b8b92b2210d47 | |
parent | fccb5815decce6257b8f04cb842a40d6d02110e7 (diff) | |
download | Viper-68436a5e96dcd75fa3e196727a8318fcc9a0dde0.tar.gz Viper-68436a5e96dcd75fa3e196727a8318fcc9a0dde0.zip |
removed unneeded spread operator
-rw-r--r-- | src/utils.js | 2 |
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(); } |