git ssb

2+

mixmix / ticktack



Commit c0a64989f4157a9fd83067b87859a94b12675f90

refactor: switching from let to const

andre alves garzia committed on 5/20/2018, 11:15:46 PM
Parent: f34a56f91e29caba11aae4f1efe7ce7443c9f032

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