Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 6de9d75

Browse files
committed
Fixes for postCreateCommand
1 parent 3133d72 commit 6de9d75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

containers/python-3-anaconda/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
"python.linting.enabled": true
1919
},
2020
// Install contents of environment.yml if present
21-
"postCreateCommand": "if [ -f environment.yml ]; conda env update base -f environment.yml; fi"
21+
"postCreateCommand": "if [ -f environment.yml ]; then conda env update base -f environment.yml; fi"
2222
}

containers/python-3-miniconda/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
"python.linting.enabled": true
1919
},
2020
// Install contents of environment.yml if present
21-
"postCreateCommand": "if [ -f environment.yml ]; conda env update base -f environment.yml; fi"
21+
"postCreateCommand": "if [ -f environment.yml ]; then conda env update base -f environment.yml; fi"
2222
}

0 commit comments

Comments
 (0)