Skip to content

Commit 7df0c81

Browse files
committed
docs: fixing naming conventions in readme
1 parent 993063e commit 7df0c81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ const daemonFactory = require('ipfsd-ctl')
6767
const local = daemonFactory.localController
6868

6969
local.spawn(function (err, ipfsd) {
70-
const ipfs = ipfsd.ctl
71-
const node = ipfsd.ctrl
72-
ipfs.id(function (err, id) {
70+
const ipfsCtl = ipfsd.ctl
71+
const ipfsCtrl = ipfsd.ctrl
72+
ipfsCtl.id(function (err, id) {
7373
console.log(id)
74-
node.stopDaemon()
74+
ipfsCtrl.stopDaemon()
7575
})
7676
})
7777
```

0 commit comments

Comments
 (0)