Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwennn <wennshm@163.com>2022-03-09 09:15:29 +0300
committerGitHub <noreply@github.com>2022-03-09 09:15:29 +0300
commit3bc56046a2b8076f2e771cb99c35daabf5147d7b (patch)
tree53ce302062ab588448d4b3101a3b93e09c4b6c98 /startvscode.sh
parent8b62081d4b302a916c3fd61a61985afb98a400bf (diff)
Fixed "unary operator expected" error (#40597)
Diffstat (limited to 'startvscode.sh')
-rwxr-xr-xstartvscode.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/startvscode.sh b/startvscode.sh
index 21bc3c6096..48ddfa842a 100755
--- a/startvscode.sh
+++ b/startvscode.sh
@@ -20,7 +20,7 @@ if [ ! -f "$DOTNET_ROOT/dotnet" ]; then
exit 1
fi
-if [ $1 = "" ]; then
+if [[ $1 == "" ]]; then
code .
else
code $1