Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
samruddhikhandale committed Nov 3, 2022
1 parent 267be5c commit 2c51073
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/color/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// 👇 Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

"postCreateCommand": "echo '${templateOption:favorite}' > /tmp/color.txt "
"postCreateCommand": "echo '${templateOption:favorite}' > /usr/local/etc/color.txt"

// 👇 Configure tool-specific properties.
// "customizations": {},
Expand Down
2 changes: 1 addition & 1 deletion src/hello/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// "forwardPorts": [],

// 👇 Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "echo ${templateOption:greeting} > /tmp/greeting.txt"
"postCreateCommand": "echo ${templateOption:greeting} > /usr/local/etc/greeting.txt"

// 👇 Configure tool-specific properties.
// "customizations": {},
Expand Down
2 changes: 1 addition & 1 deletion test/color/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source test-utils.sh

# Template specific tests
check "distro" lsb_release -c
check "color" [ $(cat /tmp/color.txt | grep red) ]
check "color" [ $(cat /usr/local/etc/color.txt | grep red) ]

# Report result
reportResults
2 changes: 1 addition & 1 deletion test/hello/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source test-utils.sh

# Template specific tests
check "distro" lsb_release -c
check "greeting" [ $(cat /tmp/greeting.txt | grep hey) ]
check "greeting" [ $(cat /usr/local/etc/greeting.txt | grep hey) ]

# Report result
reportResults

0 comments on commit 2c51073

Please sign in to comment.