Skip to content

Commit ab1e3c4

Browse files
author
Geoffrey Broadwell
committed
Remove superstitious parens and fix incorrect fallback operator
1 parent eb6fc7e commit ab1e3c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bench

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use JSON::Tiny;
77

88

99
# Reduce directory insanity a bit by changing to bench root
10-
my ($PROGRAM_DIR) = ~($*PROGRAM_NAME ~~ /^(.*\/)/) // './';
10+
my $PROGRAM_DIR = ~($*PROGRAM_NAME ~~ /^(.*\/)/) || './';
1111
chdir $PROGRAM_DIR;
1212
$PROGRAM_DIR = cwd;
1313
my $COMPONENTS_DIR = "$PROGRAM_DIR/components";

0 commit comments

Comments
 (0)