We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
template
.metadata
1 parent b16aee7 commit 027deccCopy full SHA for 027decc
packages/nx-flutter/src/utils/plugin-utils.ts
@@ -13,7 +13,6 @@ import {
13
NxFlutterPluginOptions,
14
normalizePluginOptions,
15
} from '../graph/plugin';
16
-import { isFlutterInstalled } from './flutter-utils';
17
18
export function getProjectTypeAndTargetsFromFile(
19
projectRootFile: string,
@@ -34,7 +33,7 @@ export function getProjectTypeAndTargetsFromFile(
34
33
if (hasProjectFile({ root }, '.metadata')) {
35
const projectMetadata = getProjectFileContent({ root }, '.metadata');
36
template =
37
- (/project_type: (\w)/.exec(projectMetadata)?.[1] as TemplateType) ||
+ (/project_type: (\w+)/.exec(projectMetadata)?.[1] as TemplateType) ||
38
'app';
39
}
40
0 commit comments