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

Command line option --allow should use shared directory #749

Closed
tresf opened this issue Jan 25, 2021 · 0 comments · Fixed by #753
Closed

Command line option --allow should use shared directory #749

tresf opened this issue Jan 25, 2021 · 0 comments · Fixed by #753
Assignees
Milestone

Comments

@tresf
Copy link
Contributor

tresf commented Jan 25, 2021

When deploying in a headless environment, the --allow command line flag currently defaults to the user's directory, but it should instead default to the shared directory.

public static boolean printLineToFile(String fileName, String message) {
File file = getFile(fileName, true);

Currently, printLineToFile doesn't have an override to specify that it's a shared file. It calls getFile(..., true), which defaults to a local file, not a shared file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant