git ssb

2+

mixmix / ticktack



Commit 34eba24a618f2a4d20c291a7be43c692b6b97549

refactor: switching from let to const

andre alves garzia committed on 5/21/2018, 12:03:23 AM
Parent: af7a4df07ba10c8db16edf9a61244f671fe0fbf1

Files changed

backup/async/exportIdentity.jschanged
backup/async/exportIdentity.jsView
@@ -23,10 +23,10 @@
2323 } else {
2424
2525 console.log(`should export identity to file ${filename}`)
2626
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")
2929
3030 onceTrue(api.sbot.obs.connection, sbot => {
3131
3232 let feedId = api.keys.sync.id()

Built with git-ssb-web