Skip to content

Commit

Permalink
Revert "bug: fixes path for src folder #167"
Browse files Browse the repository at this point in the history
  • Loading branch information
ssvaidyanathan authored Feb 6, 2024
1 parent 58b6ff8 commit be1a029
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/integrations/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ 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 @@ -65,7 +64,7 @@ var ApplyCmd = &cobra.Command{
wait, _ := strconv.ParseBool(cmd.Flag("wait").Value.String())

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

0 comments on commit be1a029

Please sign in to comment.