Skip to content

Handle ~/ prefix in config path

Warren Gifford requested to merge home-dir-tilde into master

Created by: ryanslade

We handle this special case so that the home directory is expanded. This is only an issue when the path is specified using an equal sign, eg. -config=~/foo.json

We just fix this one specific edge case since config files are being deprecated soon.

Closes: https://github.com/sourcegraph/src-cli/issues/187

Merge request reports

Loading