|
|
@ -967,6 +967,8 @@ pub fn resolve_file<R: Runtime>(
|
|
|
|
path: SafeFilePath,
|
|
|
|
path: SafeFilePath,
|
|
|
|
open_options: OpenOptions,
|
|
|
|
open_options: OpenOptions,
|
|
|
|
) -> CommandResult<(File, PathBuf)> {
|
|
|
|
) -> CommandResult<(File, PathBuf)> {
|
|
|
|
|
|
|
|
use crate::FsExt;
|
|
|
|
|
|
|
|
|
|
|
|
match path {
|
|
|
|
match path {
|
|
|
|
SafeFilePath::Url(url) => {
|
|
|
|
SafeFilePath::Url(url) => {
|
|
|
|
let path = url.as_str().into();
|
|
|
|
let path = url.as_str().into();
|
|
|
|