(cfg Config)
| 69 | } |
| 70 | |
| 71 | func SaveProjectConfig(cfg Config) error { |
| 72 | path := filepath.Join(".", PROJECT_CONFIG_FILE) |
| 73 | data, _ := json.MarshalIndent(cfg, "", " ") |
| 74 | return ioutil.WriteFile(path, data, 0644) |
| 75 | } |
no outgoing calls
no test coverage detected