Skip to content

Commit

Permalink
added missing err check
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnester committed Dec 16, 2024
1 parent 1e74a0d commit cb7bca2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/bundle/generate/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ func getAppConfig(ctx context.Context, app *apps.App, w *databricks.WorkspaceCli

cmdio.LogString(ctx, fmt.Sprintf("Reading app configuration from %s", configFile))
content, err := io.ReadAll(r)
if err != nil {
return nil, err
}

var appConfig map[string]interface{}
err = yaml.Unmarshal(content, &appConfig)
Expand Down

0 comments on commit cb7bca2

Please sign in to comment.