refactor(dev-infra): move parseCommitMessagesForRange into the parse file (#39747)

When attempting to actually rely on `parseCommitMessagesForRange`, it became apparent
that the function really belongs in the parse file, rather than utils.

PR Close #39747
This commit is contained in:
Joey Perrott
2020-11-18 10:57:24 -08:00
committed by Andrew Kushnir
parent e2ce9af115
commit 881b77ef46
3 changed files with 30 additions and 40 deletions
@@ -7,8 +7,7 @@
*/
import {error, info} from '../../utils/console';
import {ParsedCommitMessage} from '../parse';
import {parseCommitMessagesForRange} from '../utils';
import {parseCommitMessagesForRange, ParsedCommitMessage} from '../parse';
import {printValidationErrors, validateCommitMessage, ValidateCommitMessageOptions} from '../validate';
// Whether the provided commit is a fixup commit.