summaryrefslogtreecommitdiff
path: root/std/io/bufio.ts
diff options
context:
space:
mode:
authorYusuke Sakurai <kerokerokerop@gmail.com>2020-02-09 05:15:59 +0900
committerGitHub <noreply@github.com>2020-02-08 14:15:59 -0600
commita4bb8bab44cc778e6e455f19fdae9f3e4acc809b (patch)
treedcd78cd45f493588b04d3949aeb7c57b8d53d92e /std/io/bufio.ts
parentcdba5ab6fc633606aaa6f95d0825832c3ac6fe5c (diff)
remove non-null assertion operator from std (part2) (#3927)
Diffstat (limited to 'std/io/bufio.ts')
-rw-r--r--std/io/bufio.ts2
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;
}
}