Browse Source

update example.js

ameba23 2 years ago
parent
commit
9ef11a5244
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      example.js

+ 1
- 3
example.js View File

@@ -1,12 +1,10 @@
1 1
 const KappaDrive = require('kappa-drive')
2
-const Mount = require('./')
2
+const mount = require('./')
3 3
 
4 4
 const mountdir = './mnt'
5 5
 const storage = './drive'
6 6
 const drive = KappaDrive(storage)
7 7
 
8
-const mount = Mount()
9
-
10 8
 mount(drive, mountdir, (err, unmount) => {
11 9
   if (err) return console.error(err)
12 10