Skip to content

Commit

Permalink
corrected -d base_dir not being extracted properly
Browse files Browse the repository at this point in the history
  • Loading branch information
hexparrot authored Jun 12, 2020
1 parent 75f55d2 commit 4470b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mineos_console.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function retrieve_property(args, callback) {
fn.apply(instance, arg_array);
}

var base_dir = (opt.options || {}).d || '/var/games/minecraft';
var base_dir = (opt.options || {}).base_dir || '/var/games/minecraft';

if ('version' in opt.options) {
return_git_commit_hash(function(code, hash) {
Expand Down

0 comments on commit 4470b92

Please sign in to comment.