mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Fix ts error
This commit is contained in:
parent
706e5040ae
commit
4b21ba2709
1 changed files with 1 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ import { ui } from "../environment/userInteraction.js";
|
||||||
|
|
||||||
let hasWarnedAboutUnavailableNewPackagesDatabase = false;
|
let hasWarnedAboutUnavailableNewPackagesDatabase = false;
|
||||||
|
|
||||||
|
/** @param {Error} error */
|
||||||
export function warnOnceAboutUnavailableDatabase(error) {
|
export function warnOnceAboutUnavailableDatabase(error) {
|
||||||
if (!hasWarnedAboutUnavailableNewPackagesDatabase) {
|
if (!hasWarnedAboutUnavailableNewPackagesDatabase) {
|
||||||
ui.writeWarning(
|
ui.writeWarning(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue