[KYUUBI #539] Remove duplicated file separator
### _Why are the changes needed?_ Remove duplicated file separator. ### _How was this patch tested?_ Existing UT. Closes #539 from turboFei/remove_dup_separator. Closes #539 42383ba [fwang12] Remove duplicated file separator Authored-by: fwang12 <fwang12@ebay.com> Signed-off-by: fwang12 <fwang12@ebay.com>
This commit is contained in:
parent
8fb6ffdf84
commit
dc9b85a020
@ -44,7 +44,7 @@ private[kyuubi] object Utils extends Logging {
|
||||
|
||||
def getDefaultPropertiesFile(env: Map[String, String] = sys.env): Option[File] = {
|
||||
env.get(KYUUBI_CONF_DIR)
|
||||
.orElse(env.get(KYUUBI_HOME).map(_ + File.separator + "/conf"))
|
||||
.orElse(env.get(KYUUBI_HOME).map(_ + File.separator + "conf"))
|
||||
.map( d => new File(d + File.separator + KYUUBI_CONF_FILE_NAME))
|
||||
.filter(_.exists())
|
||||
.orElse {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user