Commit 34eba24a618f2a4d20c291a7be43c692b6b97549
refactor: switching from let to const
andre alves garzia committed on 5/21/2018, 12:03:23 AMParent: af7a4df07ba10c8db16edf9a61244f671fe0fbf1
Files changed
backup/async/exportIdentity.js | changed |
backup/async/exportIdentity.js | ||
---|---|---|
@@ -23,10 +23,10 @@ | ||
23 | 23 | } else { |
24 | 24 | |
25 | 25 | console.log(`should export identity to file ${filename}`) |
26 | 26 | |
27 | - let peers = JSON.parse(fs.readFileSync(peersFile)) | |
28 | - let secret = fs.readFileSync(secretFile, "utf8") | |
27 | + const peers = JSON.parse(fs.readFileSync(peersFile)) | |
28 | + const secret = fs.readFileSync(secretFile, "utf8") | |
29 | 29 | |
30 | 30 | onceTrue(api.sbot.obs.connection, sbot => { |
31 | 31 | |
32 | 32 | let feedId = api.keys.sync.id() |
Built with git-ssb-web