ci: use dev-infra cli from local sources (#36326)
Use dev-infra cli from local sources rather than loading from @angular/dev-infra-private builds. PR Close #36326
This commit is contained in:

committed by
Kara Erickson

parent
8ea30b662f
commit
26e28453d6
@ -11,8 +11,9 @@ import {validateFile} from './validate-file';
|
||||
/** Build the parser for the commit-message commands. */
|
||||
export function buildCommitMessageParser(localYargs: yargs.Argv) {
|
||||
return localYargs.help().strict().command(
|
||||
'pre-commit-validate', 'Validate the most recent commit message', {},
|
||||
() => { validateFile('.git/COMMIT_EDITMSG'); });
|
||||
'pre-commit-validate', 'Validate the most recent commit message', {}, () => {
|
||||
validateFile('.git/COMMIT_EDITMSG');
|
||||
});
|
||||
}
|
||||
|
||||
if (require.main == module) {
|
||||
|
Reference in New Issue
Block a user