diff --git a/packages/zcli-themes/src/lib/getTemplates.ts b/packages/zcli-themes/src/lib/getTemplates.ts index 567eaee0..026038fc 100644 --- a/packages/zcli-themes/src/lib/getTemplates.ts +++ b/packages/zcli-themes/src/lib/getTemplates.ts @@ -3,7 +3,7 @@ import * as fs from 'fs' export default function getTemplates (themePath: string): Record { const templates: Record = {} - const filenames = globSync(`${themePath}/templates/**/*.hbs`) + const filenames = globSync(`${themePath}/templates/**/*.hbs`, { posix: true }) filenames.forEach((template) => { const identifier = template.split('templates/')[1].split('.hbs')[0]