mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 19:28:16 +00:00
fix: address minor typos
This commit is contained in:
@@ -671,7 +671,7 @@ export const RAW_SECRETS = {
|
|||||||
workspaceId: "The ID of the project where the secret is located."
|
workspaceId: "The ID of the project where the secret is located."
|
||||||
},
|
},
|
||||||
GET_REFERENCE_TREE: {
|
GET_REFERENCE_TREE: {
|
||||||
secretName: "The name of the secret to get the reference tree for.'.",
|
secretName: "The name of the secret to get the reference tree for.",
|
||||||
workspaceId: "The ID of the project where the secret is located.",
|
workspaceId: "The ID of the project where the secret is located.",
|
||||||
environment: "The slug of the environment where the the secret is located.",
|
environment: "The slug of the environment where the the secret is located.",
|
||||||
secretPath: "The folder path where the secret is located."
|
secretPath: "The folder path where the secret is located."
|
||||||
|
|||||||
@@ -448,7 +448,7 @@ export const expandSecretReferencesFactory = ({
|
|||||||
// eslint-disable-next-line no-continue
|
// eslint-disable-next-line no-continue
|
||||||
if (!entities.length) continue;
|
if (!entities.length) continue;
|
||||||
|
|
||||||
let referrencedSecretPath = "";
|
let referencedSecretPath = "";
|
||||||
let referencedSecretKey = "";
|
let referencedSecretKey = "";
|
||||||
let referencedSecretEnvironmentSlug = "";
|
let referencedSecretEnvironmentSlug = "";
|
||||||
let referencedSecretValue = "";
|
let referencedSecretValue = "";
|
||||||
@@ -468,7 +468,7 @@ export const expandSecretReferencesFactory = ({
|
|||||||
|
|
||||||
referencedSecretValue = referredValue.value;
|
referencedSecretValue = referredValue.value;
|
||||||
referencedSecretKey = secretKey;
|
referencedSecretKey = secretKey;
|
||||||
referrencedSecretPath = secretPath;
|
referencedSecretPath = secretPath;
|
||||||
referencedSecretEnvironmentSlug = environment;
|
referencedSecretEnvironmentSlug = environment;
|
||||||
} else {
|
} else {
|
||||||
const secretReferenceEnvironment = entities[0];
|
const secretReferenceEnvironment = entities[0];
|
||||||
@@ -487,13 +487,13 @@ export const expandSecretReferencesFactory = ({
|
|||||||
|
|
||||||
referencedSecretValue = referedValue.value;
|
referencedSecretValue = referedValue.value;
|
||||||
referencedSecretKey = secretReferenceKey;
|
referencedSecretKey = secretReferenceKey;
|
||||||
referrencedSecretPath = secretReferencePath;
|
referencedSecretPath = secretReferencePath;
|
||||||
referencedSecretEnvironmentSlug = secretReferenceEnvironment;
|
referencedSecretEnvironmentSlug = secretReferenceEnvironment;
|
||||||
}
|
}
|
||||||
|
|
||||||
const node = {
|
const node = {
|
||||||
value: referencedSecretValue,
|
value: referencedSecretValue,
|
||||||
secretPath: referrencedSecretPath,
|
secretPath: referencedSecretPath,
|
||||||
environment: referencedSecretEnvironmentSlug,
|
environment: referencedSecretEnvironmentSlug,
|
||||||
depth: depth + 1,
|
depth: depth + 1,
|
||||||
trace
|
trace
|
||||||
|
|||||||
Reference in New Issue
Block a user