Skip to content

Commit

Permalink
YAML file has been corrected.
Browse files Browse the repository at this point in the history
  • Loading branch information
Smnrgcl committed Apr 20, 2024
1 parent ddc29c8 commit 554cff1
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/control-feature.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
package main

import (
"fmt"
"io/ioutil"
"log"
)

func main() {
// YAML data as a string
yamlData := `
control_feature:
name: "Control Feature"
description: "This YAML file is used to control the feature."
Expand All @@ -17,12 +6,3 @@ control_feature:
details:
- detail1
- detail2
`
// Write YAML data to a file named "control_feature.yaml"
err := ioutil.WriteFile("control_feature.yaml", []byte(yamlData), 0644)
if err != nil {
log.Fatalf("Error writing file: %v", err)
}

fmt.Println("YAML file created: control_feature.yaml")
}

0 comments on commit 554cff1

Please sign in to comment.