Skip to content

Commit

Permalink
feat: go mod tidy on start up
Browse files Browse the repository at this point in the history
  - Prevent warning while booting container from a newly cloned repo via "Remote - Containers" in VSCode.
  • Loading branch information
KEINOS committed Feb 9, 2021
1 parent b3f39f8 commit 9475d97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/postCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ echo '"${HOME}/.welcome.sh"' >>"${HOME}/.bashrc"

# Sim-llink Cobra configuration file to home
ln -s "$(pwd)/.devcontainer/cobra.yaml" "${HOME}/.cobra.yaml"

# Make sure go.mod matches the source code in the module.
go mod tidy

0 comments on commit 9475d97

Please sign in to comment.