Merge pull request #1192 from tp-tc/snapshot-maintainers

Handle `MAINTAINERS` when passing `--single-snapshot`.
This commit is contained in:
Tejal Desai
2020-05-03 20:45:48 -07:00
committed by GitHub
4 changed files with 20 additions and 25 deletions
+1 -1
View File
@@ -424,7 +424,7 @@ func (s *stageBuilder) takeSnapshot(files []string) (string, error) {
}
func (s *stageBuilder) shouldTakeSnapshot(index int, files []string) bool {
isLastCommand := index == len(s.stage.Commands)-1
isLastCommand := index == len(s.cmds)-1
// We only snapshot the very end with single snapshot mode on.
if s.opts.SingleSnapshot {