mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-11 22:30:05 +00:00
chore(*): change code style to remove semicolons
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export const parseSourceCode = (log: string): string => {
|
||||
const isSourceCodeLine = (line: string) =>
|
||||
line.trim().substring(0, 10).trimStart().match(/^\d/);
|
||||
const logLines = log.split("\n").filter(isSourceCodeLine);
|
||||
return logLines.join("\r\n");
|
||||
};
|
||||
line.trim().substring(0, 10).trimStart().match(/^\d/)
|
||||
const logLines = log.split("\n").filter(isSourceCodeLine)
|
||||
return logLines.join("\r\n")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user