mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +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}){
|
||||
this.language = language;
|
||||
this.version = version;
|
||||
this.aliases = aliases;
|
||||
this.aliases = aliases || [];
|
||||
this.pkgdir = pkgdir;
|
||||
this.runtime = runtime;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue