Skip to content

Commit

Permalink
link-inspector does not require path anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
justindhillon committed Feb 25, 2024
1 parent 4502a23 commit a415a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function runProcess(callback: any) {
runProcess(callback);
}

export default async function linkInspector(arg: string, callback: any, path: string) {
export default async function linkInspector(arg: string, callback: any, path: string = '') {
try { // If arg is a link
new URL(arg);
QUEUE[PROCESS] = [arg, path];
Expand Down

0 comments on commit a415a15

Please sign in to comment.