From 97d53faf6ba50cb4b1769f9202aaaed5fcb30ab1 Mon Sep 17 00:00:00 2001 From: RandomFractals Date: Mon, 5 Jun 2023 09:24:58 -0500 Subject: [PATCH] change default Evidence template project url to use `/template` folder from this repo (#62) --- package.json | 2 +- src/commands/template.ts | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ea64456..da584c4 100644 --- a/package.json +++ b/package.json @@ -203,7 +203,7 @@ }, "evidence.templateProjectUrl": { "type": "string", - "default": "https://github.com/evidence-dev/template", + "default": "https://github.com/evidence-dev/evidence-vscode/template", "description": "Evidence template project GitHub URL or local file:// path to the project template folder to use when creating new Evidence projects." } } diff --git a/src/commands/template.ts b/src/commands/template.ts index a38de92..57783c4 100644 --- a/src/commands/template.ts +++ b/src/commands/template.ts @@ -34,7 +34,7 @@ export const gitHubUrlBase = 'https://github.com'; /** * Default Evidence app template project github Url. */ -export const templateProjectUrl = `${gitHubUrlBase}/evidence-dev/template`; +export const templateProjectUrl = `${gitHubUrlBase}/evidence-dev/evidence-vscode/template`; /** * Required Evidence template project data source configuration settings. @@ -254,7 +254,8 @@ export async function cloneTemplateRepository( window.showErrorMessage(errorMessage); }); - await timeout(15000); + // 10 seconds delay for the github repo cloning progress display + await timeout(10000); }); }