summaryrefslogtreecommitdiff
path: root/cli/ops/files.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/ops/files.rs')
-rw-r--r--cli/ops/files.rs2
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),
)));
}