Skip to content

Commit e8f5eef

Browse files
author
Philip Sampaio
committed
Make the bin/elixir.ps1 execute commands by default
It changes the behaviour of being "dry run" by default.
1 parent 52d4291 commit e8f5eef

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bin/elixir.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,4 +281,9 @@ if ($ErlExec -eq "werl") {
281281
$Command = "start `"`" $Command"
282282
}
283283

284-
Write-Host $Command
284+
if ($Env:ELIXIR_CLI_DRY_RUN) {
285+
Write-Host $Command
286+
}
287+
else {
288+
Invoke-Expression $Command
289+
}

0 commit comments

Comments
 (0)