From 3907da8bfe2a55271c0eda87760873cb37e8d829 Mon Sep 17 00:00:00 2001 From: emisargent <55098699+emisargent@users.noreply.github.com> Date: Fri, 10 Feb 2023 22:13:09 +0000 Subject: [PATCH] Fix conditional --- .devcontainer/post-create-command.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/post-create-command.sh b/.devcontainer/post-create-command.sh index 8c7c15c3..3fc43e81 100755 --- a/.devcontainer/post-create-command.sh +++ b/.devcontainer/post-create-command.sh @@ -3,7 +3,7 @@ set -e # Add user's fork as a remote GIT_USER=$(git config user.name) -if [ ! git remote | grep -q "fork" ]; then +if ! git remote | grep -q "fork"; then git remote add fork https://github.com/${GIT_USER}/flask fi