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:
committed by
jonjohnsonjr
parent
3584e2d4d3
commit
b0a1702132
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user