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

Commit 06c32f5

Browse files
authored
Adjust Typescript-based style guide rule for ID ordering to warning (#1225)
1 parent dcc3340 commit 06c32f5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

features/fedramp_extensions.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ Examples:
211211
| frr305 |
212212
| frr306 |
213213
| frr307 |
214+
| frr512 |
214215
#END_DYNAMIC_CONSTRAINT_IDS
215216

216217
@constraints

features/steps/fedramp_extensions_steps.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -823,9 +823,7 @@ Then(
823823
const line = fileContent
824824
.substring(0, fileContent.indexOf(currentId))
825825
.split("\n").length;
826-
errors.push(
827-
`[ERROR] frr103 ${fileName}:${line}: "${currentId}" is out of order. It should come after "${nextId}"`
828-
);
826+
console.warn(`[WARN] frr103 ${fileName}:${line}: "${currentId}" is out of order. It should come after "${nextId}"`);
829827
}
830828
}
831829
});

0 commit comments

Comments
 (0)