Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Commit 938888a

Browse files
committed
Do not use "/dev/null" as it doesn't work on Windows
1 parent bb81256 commit 938888a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/src/main/java/io/github/nubesgen/cli/subcommand/HealthCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static Integer configure() {
2323
} else {
2424
Output.printInfo("Azure CLI is installed.");
2525
}
26-
if (ProcessExecutor.execute("az account show > /dev/null") != 0) {
26+
if (ProcessExecutor.execute("az account show") != 0) {
2727
Output.printError("You are not authenticated with Azure CLI. Please run 'az login' first.");
2828
return -1;
2929
} else {

0 commit comments

Comments
 (0)