Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Commit 4f3f4d7

Browse files
authored
- Fix feature rule file type detection (#246)
1 parent c93bac6 commit 4f3f4d7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/project/behavior-pack/file-type.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export namespace FileType {
4949
if (/[\\/]structures[\\/]/.test(uri)) return FileType.structure;
5050
if (/[\\/]trading[\\/]/.test(uri)) return FileType.trading;
5151
if (/[\\/]features[\\/]/.test(uri)) return FileType.feature;
52+
if (/[\\/]feature_rules[\\/]/.test(uri)) return FileType.feature_rule;
5253
//These can also be subfolders
5354
if (/[\\/]blocks[\\/]/.test(uri)) return FileType.block;
5455
if (/[\\/]entities[\\/]/.test(uri)) return FileType.entity;

0 commit comments

Comments
 (0)