mirror of
https://github.com/Koenkk/zigbee-OTA.git
synced 2026-10-11 13:55:14 +00:00
fix: dedupe by manufacturer (#984)
This commit is contained in:
@@ -5,7 +5,7 @@ import type {Octokit} from "@octokit/rest";
|
||||
|
||||
import {ALL_AUTODL_MANUFACTURERS, CACHE_DIR} from "./common.js";
|
||||
|
||||
export async function overwriteCache(github: Octokit, core: typeof CoreApi, context: Context, manufacturersCSV?: string): Promise<void> {
|
||||
export async function overwriteCache(_github: Octokit, core: typeof CoreApi, _context: Context, manufacturersCSV?: string): Promise<void> {
|
||||
if (!existsSync(CACHE_DIR)) {
|
||||
mkdirSync(CACHE_DIR, {recursive: true});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user