From a4bb8bab44cc778e6e455f19fdae9f3e4acc809b Mon Sep 17 00:00:00 2001 From: Yusuke Sakurai Date: Sun, 9 Feb 2020 05:15:59 +0900 Subject: remove non-null assertion operator from std (part2) (#3927) --- std/io/bufio.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/io') diff --git a/std/io/bufio.ts b/std/io/bufio.ts index 5f0d53eb8..f721022f3 100644 --- a/std/io/bufio.ts +++ b/std/io/bufio.ts @@ -345,7 +345,7 @@ export class BufReader implements Reader { try { await this._fill(); } catch (err) { - err.partial = slice!; + err.partial = slice; throw err; } } -- cgit v1.2.3