build: update deps

This commit is contained in:
OpportunityLiu
2024-04-05 17:15:07 +08:00
Unverified
parent 9ffbd16350
commit cf85510b92
3 changed files with 379 additions and 370 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export async function lsRemote(repo: Repo): Promise<RefDic> {
const data: RefDic = { heads: {}, tags: {}, pull: {} };
out.split('\n').forEach((line) => {
const [ref, tag] = line.trim().split('\t');
if (ref && tag && tag.startsWith('refs/')) {
if (ref && tag?.startsWith('refs/')) {
const tagPath = tag.split('/').splice(1);
// eslint-disable-next-line @typescript-eslint/no-explicit-any
let ldata = data as any; // eslint-disable-line @typescript-eslint/no-unsafe-assignment