Signed-off-by: allencloud <allen.sun@daocloud.io>
| ... | ... |
@@ -21,9 +21,8 @@ func WithoutCache(cmd *icmd.Cmd) func() {
|
| 21 | 21 |
return nil |
| 22 | 22 |
} |
| 23 | 23 |
|
| 24 |
-// WithContextPath set the build context path |
|
| 24 |
+// WithContextPath sets the build context path |
|
| 25 | 25 |
func WithContextPath(path string) func(*icmd.Cmd) func() {
|
| 26 |
- // WithContextPath sets the build context path |
|
| 27 | 26 |
return func(cmd *icmd.Cmd) func() {
|
| 28 | 27 |
cmd.Command = append(cmd.Command, path) |
| 29 | 28 |
return nil |