summaryrefslogtreecommitdiff
path: root/contributors/guide/github-workflow.md
diff options
context:
space:
mode:
authorKubernetes Prow Robot <k8s-ci-robot@users.noreply.github.com>2019-12-10 07:13:30 -0800
committerGitHub <noreply@github.com>2019-12-10 07:13:30 -0800
commit31025aabc867830a03c918f4a7e18c9d79ee3a5f (patch)
treeb17c95065ef9edd356aea3b261b7080c63f37bca /contributors/guide/github-workflow.md
parent55a337224a87de60ec98b7e10587023fdd443ea5 (diff)
parentc6f00190e3dcafa441c0ccd60086708afb69b80e (diff)
Merge pull request #4298 from lelenanam/envguide
github guide: update command to set working_dir
Diffstat (limited to 'contributors/guide/github-workflow.md')
-rw-r--r--contributors/guide/github-workflow.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/contributors/guide/github-workflow.md b/contributors/guide/github-workflow.md
index 1963b206..8bab80dc 100644
--- a/contributors/guide/github-workflow.md
+++ b/contributors/guide/github-workflow.md
@@ -26,7 +26,7 @@ Define a local working directory:
# You must follow exactly this pattern,
# neither `$GOPATH/src/github.com/${your github profile name/`
# nor any other pattern will work.
-export working_dir=$GOPATH/src/k8s.io
+export working_dir="$(go env GOPATH)/src/k8s.io"
```
> If you already do Go development on github, the `k8s.io` directory