Skip to content

Commit

Permalink
Merge pull request #169 from GoogleCloudPlatform/issue167
Browse files Browse the repository at this point in the history
bug: fixes path for src folder #167
  • Loading branch information
ssvaidyanathan authored Feb 6, 2024
2 parents 1c910b6 + 80c919f commit 58b6ff8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/integrations/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ var ApplyCmd = &cobra.Command{
return apiclient.SetProjectID(cmdProject.Value.String())
},
RunE: func(cmd *cobra.Command, args []string) (err error) {
srcFolder := folder
if env != "" {
folder = path.Join(folder, env)
}
Expand All @@ -64,7 +65,7 @@ var ApplyCmd = &cobra.Command{
wait, _ := strconv.ParseBool(cmd.Flag("wait").Value.String())

rJSONFiles := regexp.MustCompile(`(\S*)\.json`)
integrationFolder := path.Join(folder, "src")
integrationFolder := path.Join(srcFolder, "src")
authconfigFolder := path.Join(folder, "authconfigs")
connectorsFolder := path.Join(folder, "connectors")
overridesFile := path.Join(folder, "overrides/overrides.json")
Expand Down

0 comments on commit 58b6ff8

Please sign in to comment.