-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
92652ef
commit 6b6117a
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -193,6 +193,12 @@ export abstract class BaseGenerator< | |
* @param partialPath the relative path from the templates folder to templates root folder. | ||
*/ | ||
public sourceRootWithPartialPath(partialPath: string): void { | ||
/** | ||
* CAUTION: | ||
* PLEASE make sure the relative path from this function to /templates does NOT change! | ||
* The core VSCode extension bundles /templates separately, so the change of the relative path will make bundling fail! | ||
* Reach out to [email protected] if unsure. | ||
*/ | ||
this.builtInTemplatesRootPath = path.join( | ||
__dirname, | ||
'..', | ||
|