mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-04-21 08:21:56 +00:00
removed unused commander action handler
This commit is contained in:
parent
50ce84105e
commit
0276d9ca8b
1 changed files with 0 additions and 2 deletions
|
|
@ -205,8 +205,6 @@ const getCommander = (cfg: Record<string, unknown>, isGUI: boolean) => {
|
|||
.allowUnknownOption(false)
|
||||
.allowExcessArguments(true);
|
||||
|
||||
program.action(() => {});
|
||||
|
||||
const parseDefault = <T = unknown>(key: string, _default: T): T => {
|
||||
if (Object.prototype.hasOwnProperty.call(cfg, key)) {
|
||||
return cfg[key] as T;
|
||||
|
|
|
|||
Loading…
Reference in a new issue