We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 806b5e9 commit 8785fe6Copy full SHA for 8785fe6
config/config_test.go
@@ -21,6 +21,7 @@ func getDefaultConfiguration() *Config {
21
}{Default: "cpp"},
22
}
23
24
+
25
func getConfigPath() string {
26
tempDir := os.TempDir()
27
return path.Join(tempDir, "config.yaml")
@@ -38,7 +39,7 @@ func createFakeConfigFile() error {
38
39
return err
40
41
// write the fake configuration yaml to the file
- err = ioutil.WriteFile(configPath, buffer.Bytes(), 0644)
42
+ err = ioutil.WriteFile(configPath, buffer.Bytes(), 777)
43
if err != nil {
44
45
0 commit comments