mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-10 22:05:55 +00:00
fix(template_generator): fix condition for windows
This commit is contained in:
parent
d6bf5c24b9
commit
7fae609d87
@ -122,7 +122,7 @@ class TemplateGenerator {
|
||||
if (this.isInsideMonorepo) {
|
||||
templateSpecifier = findMonorepoPackageFromRootSync(
|
||||
templatePkg,
|
||||
() => (pkgJsonPath) => pkgJsonPath.includes(normalize('dapps/templates'))
|
||||
() => (pkgJsonPath) => normalize(pkgJsonPath).includes(normalize('dapps/templates'))
|
||||
);
|
||||
} else {
|
||||
const version = fs.readJSONSync(embarkPath('package.json')).version;
|
||||
|
Loading…
x
Reference in New Issue
Block a user