experiment with restricting writing to these
This commit is contained in:
parent
be1cd7372c
commit
07b0fcf3b6
|
@ -23,8 +23,8 @@ func (f *Forge) ConfigSave() error {
|
|||
}
|
||||
|
||||
// only let forge save the config files (?)
|
||||
if prep.AppName() == "forge" {
|
||||
log.Info("Okay, this is forge")
|
||||
if prep.AppName() == "forge" || prep.AppName() == "guireleaser" {
|
||||
log.Info("Okay, this is", prep.AppName())
|
||||
} else {
|
||||
log.Info("This is not forge")
|
||||
return log.Errorf("Only forge can save the config files")
|
||||
|
|
Loading…
Reference in New Issue