Fix my poor JS knowledge
This commit is contained in:
parent
e5e3f94956
commit
ef6f582b5a
3
index.js
3
index.js
@ -39,9 +39,10 @@ class VirtualBox {
|
||||
if (opts.writable === false || opts.readonly) args.push('--readonly')
|
||||
if (opts.transient) args.push('--transient')
|
||||
|
||||
let that = this;
|
||||
this.command(args, function () {
|
||||
const args2 = ['setextradata', 'default', 'VBoxInternal2/SharedFoldersEnableSymlinksCreate/' + name, '1']
|
||||
this.command(args2, done)
|
||||
that.command(args2, done)
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user