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

Refactor path handling in CLI #2174

Merged
merged 1 commit into from
Mar 15, 2021
Merged

Conversation

dapplion
Copy link
Contributor

With current version, if you run the CLI with

lodestar beacon --logFile ./logs.txt

the logs will not be at ./logs.txt but in /home/lion/.local/share/lodestar/mainnet/logs.txt. This is very un-intuitive.

This PR changes the processing of paths so that if a path is defined it will be used as is. If it's not defined it will be computed with parent paths that may change.

@codeclimate
Copy link

codeclimate bot commented Mar 14, 2021

Code Climate has analyzed commit 728ddbf and detected 0 issues on this pull request.

View more on Code Climate.

@dapplion dapplion force-pushed the dapplion/cli-same-dir-paths branch from 811ecad to 9e32d78 Compare March 14, 2021 19:55
@dapplion dapplion force-pushed the dapplion/cli-same-dir-paths branch from 9e32d78 to 728ddbf Compare March 14, 2021 20:14
@wemeetagain wemeetagain merged commit 1e2beb2 into master Mar 15, 2021
@wemeetagain wemeetagain deleted the dapplion/cli-same-dir-paths branch March 15, 2021 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants