diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2020-03-27 16:09:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-27 16:09:51 -0400 |
| commit | 2874664e9131616b71dd0d7d23750245b023833f (patch) | |
| tree | 6782161aa151d00f930bc0157e95b14d895347f0 /cli/ops/fs.rs | |
| parent | 8bcdb422e387a88075126d80e1612a30f5a7d89e (diff) | |
feat: Support Inspector / Chrome Devtools (#4484)
This is a first pass implementation which is still missing several important
features:
- support for --inspect-brk (#4503)
- support for source maps (#4501)
- support for piping console.log to devtools console (#4502)
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Matt Harrison <mt.harrison86@gmail.com>
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/ops/fs.rs')
| -rw-r--r-- | cli/ops/fs.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/ops/fs.rs b/cli/ops/fs.rs index 7e526d71e..493bd31e4 100644 --- a/cli/ops/fs.rs +++ b/cli/ops/fs.rs @@ -256,7 +256,7 @@ fn op_umask( #[cfg(not(unix))] { let _ = args.mask; // avoid unused warning. - return Err(OpError::not_implemented()); + Err(OpError::not_implemented()) } #[cfg(unix)] { @@ -360,7 +360,7 @@ fn op_chmod( { // Still check file/dir exists on Windows let _metadata = std::fs::metadata(&path)?; - return Err(OpError::not_implemented()); + Err(OpError::not_implemented()) } }) } @@ -400,7 +400,7 @@ fn op_chown( { // Still check file/dir exists on Windows let _metadata = std::fs::metadata(&path)?; - return Err(OpError::not_implemented()); + Err(OpError::not_implemented()) } }) } @@ -731,7 +731,7 @@ fn op_symlink( // Unlike with chmod/chown, here we don't // require `oldpath` to exist on Windows let _ = oldpath; // avoid unused warning - return Err(OpError::not_implemented()); + Err(OpError::not_implemented()) } }) } |
