Skip to content

Commit

Permalink
ALso ignore normal configs that don't end with .conf
Browse files Browse the repository at this point in the history
  • Loading branch information
TechnicJelle committed Nov 20, 2024
1 parent 0f9480c commit 2d8aaed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/project_view/sidebar/sidebar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class _SidebarState extends ConsumerState<Sidebar> {
final String projectPath = projectDirectory.path;
final Directory configDir = Directory(p.join(projectPath, "config"));
for (final FileSystemEntity entity in configDir.listSync()) {
if (entity is File) {
if (entity is File && (entity.path.endsWith(".conf"))) {
configs.add(entity);
}

Expand Down

0 comments on commit 2d8aaed

Please sign in to comment.