mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
maint(resources): DRY out PRInformation interface
Test-bot: skip Build-bot: skip
This commit is contained in:
parent
58a565be21
commit
724249263c
2 changed files with 2 additions and 6 deletions
|
|
@ -7,13 +7,9 @@ type GitHub = ReturnType<typeof getOctokit>;
|
|||
|
||||
import { readFileSync, writeFileSync } from 'node:fs';
|
||||
import { gt } from 'semver';
|
||||
import { reportHistory } from './reportHistory.js';
|
||||
import { reportHistory, PRInformation } from './reportHistory.js';
|
||||
import { spawnChild } from './util/spawnAwait.js';
|
||||
|
||||
interface PRInformation {
|
||||
title: string;
|
||||
number: number;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------
|
||||
// splitPullsIntoHistory
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ const getPullRequestInformation = async (
|
|||
return commit_id;
|
||||
};
|
||||
|
||||
interface PRInformation {
|
||||
export interface PRInformation {
|
||||
title: string;
|
||||
number: number;
|
||||
version?: string;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue