mirror of https://github.com/ARMmbed/mbed-os.git
tools: fix usage of aliases.json
Load aliases.json from mbed-os rather than from a temporary directory.pull/3931/head
parent
47ee9677e5
commit
cefdce2a37
|
@ -357,7 +357,7 @@ class Cache () :
|
|||
|
||||
"""
|
||||
if not self._aliases :
|
||||
with open(join(self.data_path, "aliases.json")) as i :
|
||||
with open(LocalPackAliases) as i :
|
||||
self._aliases = load(i)
|
||||
return self._aliases
|
||||
|
||||
|
|
Loading…
Reference in New Issue