fix comment lines are being detected as duplicate in validation

This commit is contained in:
undergroundwires
2020-09-12 00:13:58 +01:00
parent 1d465ee318
commit b6ccb5927a

View File

@@ -41,6 +41,9 @@ function mayBeUniqueLine(codeLine: string): boolean {
if (trimmed === ')' || trimmed === '(') { // "(" and ")" are used often in batch code
return false;
}
if (codeLine.startsWith(':: ') || codeLine.startsWith('REM ')) { // Is comment?
return false;
}
return true;
}