Skip to content

Commit

Permalink
fix: Use dunce to fix UNC paths on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ottomated committed Mar 6, 2023
1 parent ad02bca commit aeaddf0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
9 changes: 8 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[package]
name = "create-o7-app"
version = "0.1.6"
version = "0.1.7"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.69"
crossterm = "0.26.0"
dunce = "1.0.3"
human-repr = "1.0.1"
inquire = "0.5.3"
pathdiff = "0.2.1"
Expand Down
3 changes: 2 additions & 1 deletion src/input/project_location.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
use std::{
ffi::OsStr,
fs::{self, canonicalize},
fs,
path::PathBuf,
};

use crate::utils::DEFAULT_NAME;
use anyhow::Result;
use dunce::canonicalize;
use inquire::{ui::RenderConfig, validator::Validation, Confirm, Text};

use super::warn_render_config;
Expand Down

0 comments on commit aeaddf0

Please sign in to comment.