Skip to content

Commit 7f86c3d

Browse files
author
Philip Sampaio
committed
Make explicit that the switch is for exact matches
1 parent 335f64b commit 7f86c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/elixir.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ $runErlLog = $null
119119
for ($i = 0; $i -lt $allArgs.Count; $i++) {
120120
$private:arg = $allArgs[$i]
121121

122-
switch ($arg) {
122+
switch -exact ($arg) {
123123
{ $_ -in @("-e", "-r", "-pr", "-pa", "-pz", "--eval", "--remsh", "--dot-iex", "--dbg") } {
124124
$private:nextArg = NormalizeArg($allArgs[++$i])
125125

0 commit comments

Comments
 (0)