We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b378727 commit 697fa01Copy full SHA for 697fa01
scripts/auth_update.ps1
@@ -1,5 +1,5 @@
1
$AZURE_USE_AUTHENTICATION = (azd env get-value AZURE_USE_AUTHENTICATION)
2
-if (-not $?) {
+if ($AZURE_USE_AUTHENTICATION -ne "true") {
3
Exit 0
4
}
5
scripts/auth_update.sh
@@ -1,7 +1,7 @@
#!/bin/sh
AZURE_USE_AUTHENTICATION=$(azd env get-value AZURE_USE_AUTHENTICATION)
-if [ $? -ne 0 ]; then
+if [ "$AZURE_USE_AUTHENTICATION" != "true" ]; then
exit 0
6
fi
7
0 commit comments