Fix jobset update
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
93a14ccf32
commit
be3ca0dd84
|
@ -284,7 +284,7 @@ sub checkInputValue {
|
|||
sub updateJobset {
|
||||
my ($c, $jobset) = @_;
|
||||
|
||||
my $jobsetName = $c->stash->{jobsetName} or $jobset->name;
|
||||
my $jobsetName = $c->stash->{jobsetName} // $jobset->name;
|
||||
error($c, "Invalid jobset name: ‘$jobsetName’") if $jobsetName !~ /^$jobsetNameRE$/;
|
||||
|
||||
# When the expression is in a .scm file, assume it's a Guile + Guix
|
||||
|
|
Loading…
Reference in a new issue