浏览代码

fix(upgrade): typo in variable check

Carlo Sala 1 年之前
父节点
当前提交
029a6d2de8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/upgrade.sh

+ 1 - 1
tools/upgrade.sh

@@ -234,7 +234,7 @@ if LANG= git pull --quiet --rebase $remote $branch; then
     git config oh-my-zsh.lastVersion "$last_commit"
 
     # Print changelog to the terminal
-    if [[ interactive == true && $verbose_mode == default ]] ; then
+    if [[ $interactive == true && $verbose_mode == default ]]; then
       "$ZSH/tools/changelog.sh" HEAD "$last_commit"
     fi