浏览代码

Merge pull request #11834 from jamiehannaford/contributor-guide-fix

Make gofmt use the filename previously referenced
Alexander Morozov 10 年之前
父节点
当前提交
42f9594fd3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/sources/project/work-issue.md

+ 1 - 1
docs/sources/project/work-issue.md

@@ -69,7 +69,7 @@ Follow this workflow as you work:
             For example, if you edited the `docker.go` file you would format the file
             like this:
             </p>
-            <p><code>$ gofmt -s -w file.go</code></p>
+            <p><code>$ gofmt -s -w docker.go</code></p>
             <p>
             Most file editors have a plugin to format for you. Check your editor's
             documentation.