diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-02-21 10:36:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-21 10:36:13 -0500 |
| commit | dd8a10948195f231a6a9eb652e3f208813904ad6 (patch) | |
| tree | f9a4afeb67bbead882c29c2458a5f1f99e2e42db /cli/ops/files.rs | |
| parent | d9efb8c02a0036d755c35e8e9c88d58bd45a9e2b (diff) | |
refactor: remove unneeded ErrorKinds (#3936)
Diffstat (limited to 'cli/ops/files.rs')
| -rw-r--r-- | cli/ops/files.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/ops/files.rs b/cli/ops/files.rs index d625d4590..9619051a7 100644 --- a/cli/ops/files.rs +++ b/cli/ops/files.rs @@ -190,7 +190,7 @@ fn op_seek( 2 => SeekFrom::End(i64::from(offset)), _ => { return Err(ErrBox::from(DenoError::new( - ErrorKind::InvalidSeekMode, + ErrorKind::TypeError, format!("Invalid seek mode: {}", whence), ))); } |
