mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-04-16 16:55:45 +00:00
fix test imports and vitest config
This commit is contained in:
parent
fcac78057e
commit
60c7f5af32
10 changed files with 45 additions and 12 deletions
|
|
@ -44,7 +44,7 @@ async function getSecrets(secretRequests, client, ignoreNotFound) {
|
|||
} catch (error) {
|
||||
const {response} = error;
|
||||
if (response?.statusCode === 404) {
|
||||
notFoundMsg = `Unable to retrieve result for "${path}" because it was not found: ${response.body.trim()}`;
|
||||
let notFoundMsg = `Unable to retrieve result for "${path}" because it was not found: ${response.body.trim()}`;
|
||||
const ignoreNotFound = (core.getInput('ignoreNotFound', { required: false }) || 'false').toLowerCase() != 'false';
|
||||
if (ignoreNotFound) {
|
||||
core.error(`✘ ${notFoundMsg}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue