diff options
author | Yusuke Sakurai <kerokerokerop@gmail.com> | 2020-02-09 05:15:59 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-08 14:15:59 -0600 |
commit | a4bb8bab44cc778e6e455f19fdae9f3e4acc809b (patch) | |
tree | dcd78cd45f493588b04d3949aeb7c57b8d53d92e /std/io | |
parent | cdba5ab6fc633606aaa6f95d0825832c3ac6fe5c (diff) |
remove non-null assertion operator from std (part2) (#3927)
Diffstat (limited to 'std/io')
-rw-r--r-- | std/io/bufio.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |