Skip to content

Commit

Permalink
fix: remove useless regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Jul 11, 2021
1 parent 4e41596 commit 44b24b2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ async function instrumentCode(this: TransformPluginContext, srcCode: string, id:
return { code, map } as TransformResult;
}

const scriptRE = /<script([^>]*)>/g

function createTransform(opts: IstanbulPluginOptions = {}): TransformHook {
const exclude = new TestExclude({
cwd: process.cwd(),
Expand Down

0 comments on commit 44b24b2

Please sign in to comment.