|
@@ -210,11 +210,11 @@ func assemble_prompt(config *PestConfig) {
|
|
|
|
|
|
func main() {
|
|
func main() {
|
|
|
|
|
|
- toml, err := parseTomlFromFile("/home/swatson/Repos/go-pest/pest.cfg")
|
|
|
|
|
|
+ parsed_config, err := parseTomlFromFile("/home/swatson/Repos/go-pest/pest.cfg")
|
|
if err != nil {
|
|
if err != nil {
|
|
fmt.Println("Couldn't parse TOML const!")
|
|
fmt.Println("Couldn't parse TOML const!")
|
|
}
|
|
}
|
|
|
|
|
|
- assemble_prompt(&toml)
|
|
|
|
|
|
+ assemble_prompt(&parsed_config)
|
|
|
|
|
|
}
|
|
}
|