Skip to content

Commit

Permalink
fix entrypoint path on windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
codekeyz committed Jan 4, 2025
1 parent 56a5c79 commit 7414355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/globe_cli/lib/src/utils/prompts.dart
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ Future<List<String>> findMainEntryPoint(Directory rootDir) async {

final contents = await entity.readAsString();
if (RegExp(r'\bmain\s*\([^)]*\)').hasMatch(contents)) {
entryPoints.add(relativePath);
entryPoints.add(p.posix.normalize(relativePath));
}
}

Expand Down

0 comments on commit 7414355

Please sign in to comment.