Skip to content

Commit 797136d

Browse files
committed
🚀 Release 0.6.6
1 parent fd6d71f commit 797136d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

‎main.go‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const (
4545
globalTemplatePath = ".sitedog/demo.html.tpl"
4646
authFilePath = ".sitedog/auth"
4747
apiBaseURL = "https://app.sitedog.io"
48-
Version = "v0.6.5"
48+
Version = "v0.6.5"
4949
)
5050

5151
func main() {
@@ -638,7 +638,7 @@ type StackDependencyFiles struct {
638638
}
639639

640640
type Language struct {
641-
API API `yaml:"api"`
641+
API API `yaml:"api"`
642642
PackageManagers map[string]PackageManager `yaml:"package_managers"`
643643
}
644644

@@ -652,15 +652,15 @@ type PackageManager struct {
652652
}
653653

654654
type ServiceData struct {
655-
Name string `yaml:"name"`
656-
URL string `yaml:"url"`
655+
Name string `yaml:"name"`
656+
URL string `yaml:"url"`
657657
Stacks map[string][]string `yaml:"stacks"`
658658
}
659659

660660
type DetectionResult struct {
661-
Language string
662-
Files []string
663-
Services []ServiceDetection
661+
Language string
662+
Files []string
663+
Services []ServiceDetection
664664
}
665665

666666
type ServiceDetection struct {
@@ -740,7 +740,7 @@ func handleSniff() {
740740
return
741741
}
742742

743-
// Create detectors in two phases:
743+
// Create detectors in two phases:
744744
// Phase 1: Simple detectors (don't need context)
745745
var phase1Detectors []detectors.Detector
746746

@@ -1405,7 +1405,7 @@ func createConfigFromDetectorResults(configPath string, results map[string]strin
14051405
}
14061406
}
14071407

1408-
if configExists {
1408+
if configExists {
14091409
if len(newData) == 0 {
14101410
fmt.Printf("\n✨ Config %s is up to date, no new services detected\n", configPath)
14111411
return
@@ -1418,7 +1418,7 @@ func createConfigFromDetectorResults(configPath string, results map[string]strin
14181418
return
14191419
}
14201420

1421-
lines := strings.Split(string(content), "\n")
1421+
lines := strings.Split(string(content), "\n")
14221422
var sections []string
14231423
var currentSection []string
14241424
var foundProjectSection = false

0 commit comments

Comments
 (0)