Skip to content

fix tests

fix tests #96

Triggered via push September 12, 2023 18:16
Status Success
Total duration 1m 6s
Artifacts

osx-build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
unneeded `return` statement: src/finder.rs#L40
warning: unneeded `return` statement --> src/finder.rs:40:5 | 40 | / return match target_type { 41 | | TargetType::Directory => match remaining_args.len() { 42 | | 0 => Err(format!( 43 | | "{} is a directory. tab-complete to choose subcommands", ... | 55 | | }), 56 | | }; | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 40 ~ match target_type { 41 + TargetType::Directory => match remaining_args.len() { 42 + 0 => Err(format!( 43 + "{} is a directory. tab-complete to choose subcommands", 44 + target.to_str().unwrap_or("") 45 + )), 46 + _ => Err(format!( 47 + "command {} not found in directory {}", 48 + remaining_args[0], 49 + target.to_str().unwrap_or("") 50 + )), 51 + }, 52 + TargetType::File => Ok(ScriptInvocation { 53 + target, 54 + args: remaining_args, 55 + }), 56 ~ } |
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/