Skip to content

Example Ruby buildpack uses unwrap() in non-test code #746

Closed as not planned
@edmorley

Description

@edmorley

We should not be using .unwrap() outside of tests.

These were found by the unwrap_used lint (which is about to be enabled across the whole repo).

layer_path.to_str().unwrap(),
"--binstubs",
layer_path.join("bin").to_str().unwrap(),

.args(["config", "--local", "path", layer.path.to_str().unwrap()])

layer.path.join("bin").as_path().to_str().unwrap(),

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingexamples

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions