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

Sliver compilation issue when using debug mode #8

Closed
rkervella opened this issue Jan 26, 2019 · 2 comments
Closed

Sliver compilation issue when using debug mode #8

rkervella opened this issue Jan 26, 2019 · 2 comments

Comments

@rkervella
Copy link
Member

Generating a sliver in debug mode using the -d or --debug flag results in the following line being stripped out:
log.SetOutput(ioutil.Discard) - link
As this is the only usage of the ioutil lib in this package, the compiler complains about an unused import when generating in debug mode.

Implementing a dummy Discard writer to get rid of the import could be a solution.

@moloch--
Copy link
Member

Fixed in master

@moloch--
Copy link
Member

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

No branches or pull requests

2 participants