dont crash if there are no aliases
This commit is contained in:
parent
8e7279ce69
commit
45eb4c799d
|
@ -12,7 +12,7 @@ class Runtime {
|
||||||
constructor({language, version, aliases, pkgdir, runtime}){
|
constructor({language, version, aliases, pkgdir, runtime}){
|
||||||
this.language = language;
|
this.language = language;
|
||||||
this.version = version;
|
this.version = version;
|
||||||
this.aliases = aliases;
|
this.aliases = aliases || [];
|
||||||
this.pkgdir = pkgdir;
|
this.pkgdir = pkgdir;
|
||||||
this.runtime = runtime;
|
this.runtime = runtime;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue