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

On invalid log path - log is created in cwd #3155

Closed
LeonidWeinberg opened this issue May 7, 2021 · 1 comment · Fixed by #3290
Closed

On invalid log path - log is created in cwd #3155

LeonidWeinberg opened this issue May 7, 2021 · 1 comment · Fixed by #3290
Assignees
Labels
bug Something isn't working

Comments

@LeonidWeinberg
Copy link

Expected Behavior

Log file invalid filename exception thrown

Actual Behavior

Log file created in cwd

Steps to Reproduce the Problem

  1. run command: kics scan --output-path ./../output --path ./../project --log-path log./../wow.log
  2. log is created in cwd instead of CLI error

Specifications

  • Version: 1.3.0
  • Platform: windows
  • Subsystem:
@LeonidWeinberg LeonidWeinberg added the bug Something isn't working label May 7, 2021
@LeonidWeinberg
Copy link
Author

It still reproduces for me

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

Successfully merging a pull request may close this issue.

2 participants