From 29819e3c8f941ca7dead1cde65b7dc1c7aa0e3eb Mon Sep 17 00:00:00 2001 From: Volodymyr Zotov Date: Wed, 30 Jul 2025 10:55:18 -0500 Subject: [PATCH] Fix lint --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index aa7c3b4..bd99bb8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import * as core from "@actions/core"; -import { loadSecrets, unsetPrevious, validateAuth } from "./utils"; import { validateCli } from "@1password/op-js"; +import { loadSecrets, unsetPrevious, validateAuth } from "./utils"; const loadSecretsAction = async () => { try { @@ -43,7 +43,9 @@ const installCLI = async (): Promise => { // If there's no CLI installed, then validateCli will throw an error, which we will use // as an indicator that we need to execute the installation script. await validateCli().catch(async () => { + // eslint-disable-next-line const { install } = require("@1password/install-cli-action"); + // eslint-disable-next-line @typescript-eslint/no-unsafe-call await install(); }); };