diff options
author | wennn <wennshm@163.com> | 2022-03-09 09:15:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-09 09:15:29 +0300 |
commit | 3bc56046a2b8076f2e771cb99c35daabf5147d7b (patch) | |
tree | 53ce302062ab588448d4b3101a3b93e09c4b6c98 /startvscode.sh | |
parent | 8b62081d4b302a916c3fd61a61985afb98a400bf (diff) |
Fixed "unary operator expected" error (#40597)
Diffstat (limited to 'startvscode.sh')
-rwxr-xr-x | startvscode.sh | 2 |
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 |