Skip to content

Commit

Permalink
Merge pull request #44 from ken-ty/feature/43-no-stop
Browse files Browse the repository at this point in the history
feat: 拡張のinstallが失敗しても続ける
  • Loading branch information
ken-ty authored Mar 7, 2024
2 parents e452dbe + 2c425b3 commit 40038e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ set -eu # エラーが発生した場合や未定義の変数が使用された
display_name="vscode/my_vscode_extensions.sh"
if is_setup "$display_name"; then
echo -e "\n$display_name を実行して拡張をインポートします."
set +e # 途中でエラーが発生しても続行する
source "$DOT_DIR/vscode/my_vscode_extensions.sh"
set -e # エラーが発生したら終了する
echo "$display_name を実行して拡張をインポートしました."
fi

Expand Down

0 comments on commit 40038e7

Please sign in to comment.