Skip to content

Commit 85b7b8d

Browse files
committed
add missing capture group
1 parent 0db39a3 commit 85b7b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vscode-extension/src/builders/buildAndroid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async function getNamespaceFromGradle(projectRoot: string): Promise<string | nul
8989
}
9090

9191
// The namespace field in build.gradle defines the Java package name for the app's code.
92-
const matchResult = gradleBuild.contents.match(/namespace\s+['"].*['"]/);
92+
const matchResult = gradleBuild.contents.match(/namespace\s+['"](.*)['"]/);
9393
return matchResult?.[1] ?? null;
9494
}
9595

0 commit comments

Comments
 (0)