1
0
mirror of https://github.com/ko-build/ko.git synced 2025-11-06 09:19:12 +02:00

Add --disable-optimizations flag to make debugging easier. (#24)

* Ignore GoLand files.

* Add --disable-optimizations flag to make debugging easier.

* Fix unit test (by ignoring the new functionality).
This commit is contained in:
Adam Harwayne
2019-04-18 10:18:29 -07:00
committed by jonjohnsonjr
parent 3584e2d4d3
commit b0a1702132
8 changed files with 76 additions and 16 deletions

View File

@@ -62,7 +62,7 @@ func TestGoBuildIsSupportedRef(t *testing.T) {
}
// A helper method we use to substitute for the default "build" method.
func writeTempFile(s string) (string, error) {
func writeTempFile(s string, _ bool) (string, error) {
tmpDir, err := ioutil.TempDir("", "ko")
if err != nil {
return "", err