Revert "Refactor datastores to classes (#9179)" (#11273)

This reverts commit e5dad7a64e.
This commit is contained in:
Tony Murray
2020-03-11 07:52:52 -05:00
committed by GitHub
parent e5dad7a64e
commit 7fe895bd08
51 changed files with 1007 additions and 2523 deletions

View File

@@ -367,10 +367,7 @@ GRAPHQL;
}
if (!isset($previous_release['published_at'])) {
throw new Exception(
$previous_release['message'] ??
"Could not find previous release tag. ($this->from)"
);
throw new Exception("Could not find previous release tag.");
}
$this->getPullRequests($previous_release['published_at']);