Skip to content

Commit

Permalink
remove writing/updating of config files
Browse files Browse the repository at this point in the history
commit-id:dd710146
  • Loading branch information
ejoffe committed Aug 3, 2023
1 parent 5f9733c commit 23df1e2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions config/config_parser/config_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ func ParseConfig(gitcmd git.GitInterface) *config.Config {
rake.DefaultSource(),
NewGitHubRemoteSource(cfg, gitcmd),
rake.YamlFileSource(RepoConfigFilePath(gitcmd)),
rake.YamlFileWriter(RepoConfigFilePath(gitcmd)),
)
if cfg.Repo.GitHubHost == "" {
fmt.Println("unable to auto configure repository host - must be set manually in .spr.yml")
Expand Down Expand Up @@ -49,9 +48,6 @@ func ParseConfig(gitcmd git.GitInterface) *config.Config {
rake.YamlFileSource(InternalConfigFilePath()),
)

rake.LoadSources(cfg.User,
rake.YamlFileWriter(UserConfigFilePath()))

cfg.State.RunCount = cfg.State.RunCount + 1

rake.LoadSources(cfg.State,
Expand Down

0 comments on commit 23df1e2

Please sign in to comment.