Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HEMTT Clean fails with error when no optionals folder exists #95

Closed
DerZade opened this issue Apr 5, 2019 · 1 comment
Closed

HEMTT Clean fails with error when no optionals folder exists #95

DerZade opened this issue Apr 5, 2019 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@DerZade
Copy link

DerZade commented Apr 5, 2019

HEMTT Version: Commit 7137954
Project: https://github.com/DerZade/grad_slinghelmet/tree/hemtt

Description:
hemtt clean fails and throws an error when no optionals exists. The job works fine after adding an optionals directory (even when empty).

Steps to reproduce:

  • Open a project without an optionals directory
  • Run hemtt clean

Additional information:

HEMTT Output:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 3, kind: NotFound, message: "Das System kann den angegebenen Pfad nicht finden." }', src\libcore\result.rs:997:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. 

img

@jonpas
Copy link
Collaborator

jonpas commented Apr 5, 2019

https://github.com/synixebrett/HEMTT/blob/71379549b8d2eecc16af211647ca06c14075eee0/src/main.rs#L296 doesn't check if it exists.

@jonpas jonpas added the bug Something isn't working label Apr 5, 2019
@jonpas jonpas added this to the 0.6.0 milestone Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants