mirror of
https://github.com/restic/restic.git
synced 2025-08-21 06:50:46 +00:00
CI: Return error when calens fails
This commit is contained in:
@@ -282,7 +282,7 @@ func (env *TravisEnvironment) RunTests() error {
|
||||
|
||||
// check that the entries in changelog/ are valid
|
||||
if err := run("calens"); err != nil {
|
||||
fmt.Fprintf(os.Stderr, "calens failed, files in changelog/ are not valid\n")
|
||||
return errors.New("calens failed, files in changelog/ are not valid")
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user