Skip to content

Commit

Permalink
bug: fixes path for src folder #167
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Feb 5, 2024
1 parent 0b0acd7 commit 80c919f
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 80c919f

Please sign in to comment.