From ac2b97f3f15b4cacc6cd1b275898e7c66e8a56e1 Mon Sep 17 00:00:00 2001 From: Kouadio Fabrice Nguessan Date: Sun, 5 Jan 2025 03:06:09 +0000 Subject: [PATCH] chore: update copyright --- LICENSE | 2 +- src/analysis/scanner.ts | 2 +- src/utils/runInSpinner.ts | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index 0e5b247..9f7efbd 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022-2024 NodeSecure +Copyright (c) 2022-2025 NodeSecure Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/analysis/scanner.ts b/src/analysis/scanner.ts index fe77197..941775a 100644 --- a/src/analysis/scanner.ts +++ b/src/analysis/scanner.ts @@ -55,7 +55,7 @@ export async function cwd( return filePath; } - catch (error) { + catch { return null; } finally { diff --git a/src/utils/runInSpinner.ts b/src/utils/runInSpinner.ts index ea0998f..ad2d875 100644 --- a/src/utils/runInSpinner.ts +++ b/src/utils/runInSpinner.ts @@ -1,3 +1,5 @@ +/* eslint-disable no-unused-vars */ + // Import Third-party Dependencies import { Spinner } from "@topcli/spinner"; import kleur from "kleur";