mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-07 10:46:27 +02:00
dont crash if there are no aliases
This commit is contained in:
parent
8e7279ce69
commit
45eb4c799d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue