diff --git a/src/command/use/commands/template.ts b/src/command/use/commands/template.ts index 3bd1c40b6b..9ee7ab185d 100644 --- a/src/command/use/commands/template.ts +++ b/src/command/use/commands/template.ts @@ -157,7 +157,7 @@ async function useTemplate( // Copy the extensions into a substaging directory // this will ensure that they are namespaced properly const subStagedDir = tempContext.createDir(); - await copyExtensions(source, stagedDir, subStagedDir); + await copyExtensions(source, extDir, subStagedDir); // Now complete installation from this sub-staged directory await completeInstallation(subStagedDir, outputDirectory);