mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Fix issue with requirements that had no locations array
The variable provided was ignored meaning that it would only work correctly if the executable was found via PATH, and if it wasn’t found, the error message would display a bogus character as the variable that the user should set.
This commit is contained in:
@@ -43,7 +43,7 @@ namespace bundles
|
||||
plist::get_key_path(info, "variable", variable);
|
||||
if(plist::get_key_path(info, "locations", locations))
|
||||
res.push_back(required_command_t(command, moreInfoURL, variable, convert_locations(locations)));
|
||||
else res.push_back(required_command_t(command, moreInfoURL));
|
||||
else res.push_back(required_command_t(command, moreInfoURL, variable));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user