Skip to content

Commit

Permalink
fix: pass template variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmanNik committed Aug 13, 2024
1 parent 3b5f1e7 commit 8840613
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/lib/wizards/functions/createTemplate.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,10 @@
$templateConfig.repositoryBehaviour === 'manual'
? undefined
: $choices.rootDir || undefined,
$templateConfig.repositoryBehaviour === 'manual'
? undefined
: $template.providerRepositoryId,
$templateConfig.repositoryBehaviour === 'manual'
? undefined
: $template.providerOwner,
$templateConfig.repositoryBehaviour === 'manual'
? undefined
: runtimeDetail.providerRootDirectory,
$templateConfig.repositoryBehaviour === 'manual'
? undefined
: $template.providerBranch
$template.providerRepositoryId || undefined,
$template.providerOwner || undefined,
runtimeDetail.providerRootDirectory || undefined,
$template.providerBranch || undefined
);
if ($templateConfig.variables) {
Expand Down

0 comments on commit 8840613

Please sign in to comment.