Skip to content

Commit

Permalink
fix: use sync dir from cli args instead of hardcoded one
Browse files Browse the repository at this point in the history
  • Loading branch information
thetric committed Feb 9, 2017
1 parent 24a6769 commit 7377768
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ final class Cli {
}

def handleOptsReal(OptionAccessor options) {
Path syncDir = Paths.get('C:\\Users\\broj\\Google Drive\\Ilias\\5. Semester')
Path syncDir = Paths.get(options.d as String)
final ConsoleService consoleService = new SystemEnvironmentAwareConsoleService()
Function<String, IliasService> webIliasServiceProvider = { new WebParserIliasServiceProvider(it).newInstance() }
UserPreferenceService preferenceService = new UserPreferenceServiceImpl('.ilias-downloader.yml')
Expand Down

0 comments on commit 7377768

Please sign in to comment.