Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
balopat committed Apr 2, 2020
1 parent 1208333 commit ebca3b0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions pkg/skaffold/build/jib/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ func TestValidate(t *testing.T) {
expectedConfig: nil,
},
{
description: "jib string found but not configured",
path: "path/to/build.gradle",
enableGradle: true,
description: "jib string found but not configured",
path: "path/to/build.gradle",
enableGradle: true,
fileContents: "com.google.cloud.tools.jib",
command: "gradle _jibSkaffoldInit -q --console=plain",
stdout: "error",
Expand Down Expand Up @@ -101,12 +101,12 @@ BEGIN JIB JSON
},
},
{
description: "jib gradle disabled",
path: "path/to/build.gradle",
enableGradle: false,
fileContents: "com.google.cloud.tools.jib",
command: "",
stdout: ``,
description: "jib gradle disabled",
path: "path/to/build.gradle",
enableGradle: false,
fileContents: "com.google.cloud.tools.jib",
command: "",
stdout: ``,
expectedConfig: nil,
},
{
Expand Down
2 changes: 1 addition & 1 deletion pkg/skaffold/initializer/analyze/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func NewAnalyzer(c config.Config) *ProjectAnalysis {
builderAnalyzer: &builderAnalyzer{
findBuilders: !c.SkipBuild,
enableJibInit: c.EnableJibInit,
enableJibGradleInit: c.EnableJibGradleInit,
enableJibGradleInit: c.EnableJibGradleInit,
enableBuildpacksInit: c.EnableBuildpacksInit,
buildpacksBuilder: c.BuildpacksBuilder,
},
Expand Down

0 comments on commit ebca3b0

Please sign in to comment.