mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Fix: pound sign handling
This commit is contained in:
@@ -37,12 +37,6 @@ export function processLine(line: string): string | null {
|
||||
*/
|
||||
}
|
||||
|
||||
const otherPoundSign = trimmed.indexOf('#');
|
||||
|
||||
if (otherPoundSign > 0) {
|
||||
return trimmed.slice(0, otherPoundSign).trimEnd();
|
||||
}
|
||||
|
||||
return trimmed;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user