Skip to content

Commit

Permalink
chore: gofumpt files #330
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Dec 28, 2024
1 parent f8afeef commit ebc7efd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 3 additions & 2 deletions docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@
package main

import (
"internal/cmd/authconfigs"
"internal/cmd/connectors"
"io"
"log"
"os"
"path/filepath"
"strings"

cmd "internal/cmd"
"internal/cmd/authconfigs"
"internal/cmd/connectors"

integrations "internal/cmd/integrations"

"github.com/spf13/cobra/doc"
Expand Down
6 changes: 2 additions & 4 deletions internal/cmd/integrations/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -646,8 +646,7 @@ func processCodeFolders(javascriptFolder string, jsonnetFolder string) (codeMap
if err != nil {
return nil, err
}
codeMap["JavaScriptTask"][strings.ReplaceAll(getFilenameWithoutExtension(javascriptName), "javascript_", "")] =
strings.ReplaceAll(string(javascriptBytes), "\n", "\\n")
codeMap["JavaScriptTask"][strings.ReplaceAll(getFilenameWithoutExtension(javascriptName), "javascript_", "")] = strings.ReplaceAll(string(javascriptBytes), "\n", "\\n")
}
}

Expand All @@ -671,8 +670,7 @@ func processCodeFolders(javascriptFolder string, jsonnetFolder string) (codeMap
if err != nil {
return nil, err
}
codeMap["JsonnetMapperTask"][strings.ReplaceAll(getFilenameWithoutExtension(jsonnetName), "datatransformer_", "")] =
strings.ReplaceAll(string(jsonnetBytes), "\n", "\\n")
codeMap["JsonnetMapperTask"][strings.ReplaceAll(getFilenameWithoutExtension(jsonnetName), "datatransformer_", "")] = strings.ReplaceAll(string(jsonnetBytes), "\n", "\\n")
}
}

Expand Down

0 comments on commit ebc7efd

Please sign in to comment.