mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Fix linting errors
This commit is contained in:
parent
05ebb3f19e
commit
9ad90d8073
2 changed files with 4 additions and 0 deletions
|
|
@ -2,6 +2,10 @@ const escapeChar = "\u001b";
|
|||
const startMarker = `${escapeChar}[?2004l`;
|
||||
const endMarker = `${escapeChar}[?2004h`;
|
||||
|
||||
/* eslint-disable no-control-regex */
|
||||
// This module removes control characters and escape sequences from shell output.
|
||||
// So it is allowed to use control characters in the regex patterns here.
|
||||
|
||||
export function parseShellOutput(rawData) {
|
||||
const stringData = rawData.join("");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue