fix: address minor typos

This commit is contained in:
Scott Wilson
2024-10-25 14:40:04 -07:00
parent 657130eb80
commit d0bcbe15c6
2 changed files with 5 additions and 5 deletions

View File

@ -671,7 +671,7 @@ export const RAW_SECRETS = {
workspaceId: "The ID of the project where the secret is located."
},
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.",
environment: "The slug of the environment where the the secret is located.",
secretPath: "The folder path where the secret is located."

View File

@ -448,7 +448,7 @@ export const expandSecretReferencesFactory = ({
// eslint-disable-next-line no-continue
if (!entities.length) continue;
let referrencedSecretPath = "";
let referencedSecretPath = "";
let referencedSecretKey = "";
let referencedSecretEnvironmentSlug = "";
let referencedSecretValue = "";
@ -468,7 +468,7 @@ export const expandSecretReferencesFactory = ({
referencedSecretValue = referredValue.value;
referencedSecretKey = secretKey;
referrencedSecretPath = secretPath;
referencedSecretPath = secretPath;
referencedSecretEnvironmentSlug = environment;
} else {
const secretReferenceEnvironment = entities[0];
@ -487,13 +487,13 @@ export const expandSecretReferencesFactory = ({
referencedSecretValue = referedValue.value;
referencedSecretKey = secretReferenceKey;
referrencedSecretPath = secretReferencePath;
referencedSecretPath = secretReferencePath;
referencedSecretEnvironmentSlug = secretReferenceEnvironment;
}
const node = {
value: referencedSecretValue,
secretPath: referrencedSecretPath,
secretPath: referencedSecretPath,
environment: referencedSecretEnvironmentSlug,
depth: depth + 1,
trace