Skip to content

Commit

Permalink
update template paths
Browse files Browse the repository at this point in the history
  • Loading branch information
philcockfield committed Dec 26, 2024
1 parent d8f6e12 commit 6c3732b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions code/sys.driver/driver-vitepress/src/m.Env/u.tmpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ export const createTmpl: t.VitePressTmplFactory = async (args) => {
return e.modify(text);
}

console.log('file.path', file.path, file.path.endsWith('/.vitepress/config.ts'));

if (file.path.endsWith('/.vitepress/config.ts')) {
console.log('srcDir', srcDir);
if (file.path.endsWith('.vitepress/config.ts')) {
const text = e.text.replace(/<SRC_DIR>/, srcDir);
return e.modify(text);
}
Expand Down

0 comments on commit 6c3732b

Please sign in to comment.