mirror of
https://github.com/restic/restic.git
synced 2024-12-23 00:07:25 +00:00
CI: Return error when calens fails
This commit is contained in:
parent
5d09fca6a2
commit
f31bbcf1a9
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ func (env *TravisEnvironment) RunTests() error {
|
||||||
|
|
||||||
// check that the entries in changelog/ are valid
|
// check that the entries in changelog/ are valid
|
||||||
if err := run("calens"); err != nil {
|
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
|
return nil
|
||||||
|
|
Loading…
Reference in a new issue