Skip to content

Commit

Permalink
Merge pull request #3605 from uselagoon/fix-project-vars-in-tasks
Browse files Browse the repository at this point in the history
fix: use the right value for project name when getting variables for advanced tasks
  • Loading branch information
tobybellwood authored Nov 29, 2023
2 parents b9895d7 + 87ad317 commit f133be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-packages/commons/src/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ export const createMiscTask = async function(taskData: any) {
case 'deploytarget:task:advanced':
// inject variables into advanced tasks the same way it is in builds and standard tasks
const [_, envVars, projectVars] = await getTaskProjectEnvironmentVariables(
project.name,
taskData.data.project.name,
taskData.data.environment.id
)
miscTaskData.project.variables = {
Expand Down

0 comments on commit f133be6

Please sign in to comment.