fix(format): use correct type for local
This commit is contained in:
parent
189900549a
commit
4c96e44b9b
@ -31,7 +31,7 @@ export const parse = (remote) => {
|
||||
}
|
||||
|
||||
export const format = ({type, host, path, username, password, domain}) => {
|
||||
let url = `${type}://`
|
||||
let url = `${type === 'local' ? 'file' : type}://`
|
||||
if (type === 'nfs') {
|
||||
url += `${host}:`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user