hardhat-ignore-warnings
Advanced tools
Comparing version
@@ -43,3 +43,4 @@ "use strict"; | ||
const ids = m[1].trim().split(/\s+/); | ||
const start = c.end + 1; | ||
const lineEnd = buf.toString('utf8', c.end, c.end + 2); | ||
const start = c.end + (lineEnd === '\r\n' ? 2 : 1); | ||
const nextNewline = buf.indexOf('\n', start); | ||
@@ -46,0 +47,0 @@ const end = nextNewline >= 0 ? nextNewline : buf.length; |
{ | ||
"name": "hardhat-ignore-warnings", | ||
"version": "0.2.10", | ||
"version": "0.2.11", | ||
"description": "Hardhat plugin to ignore Solidity warnings", | ||
@@ -5,0 +5,0 @@ "author": "Francisco Giordano <fg@frang.io>", |
@@ -75,3 +75,4 @@ import { lazyObject } from 'hardhat/plugins'; | ||
const ids = m[1]!.trim().split(/\s+/); | ||
const start = c.end + 1; | ||
const lineEnd = buf.toString('utf8', c.end, c.end + 2); | ||
const start = c.end + (lineEnd === '\r\n' ? 2 : 1); | ||
const nextNewline = buf.indexOf('\n', start); | ||
@@ -78,0 +79,0 @@ const end = nextNewline >= 0 ? nextNewline : buf.length; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
29671
1.22%485
0.41%