File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ impl Dot {
181181 } else {
182182 Err ( anyhow ! ( format!(
183183 "{} {:?}" ,
184- "Path does not exists :" . red( ) ,
184+ "Path does not exist :" . red( ) ,
185185 path
186186 ) ) )
187187 }
@@ -201,7 +201,7 @@ impl DotOverride {
201201 let source = match ( self . source ( ) , origin) {
202202 ( Some ( source) , _) => source,
203203 ( None , Some ( origin) ) => origin,
204- _ => panic ! ( "Dot as no source path" ) ,
204+ _ => panic ! ( "Dot has no source path" ) ,
205205 } ;
206206
207207 let vars = self . vars ( ) . unwrap_or_else ( Dot :: default_vars) ;
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ impl Bombadil {
4747 pub fn link_self_config ( config_path : Option < PathBuf > ) -> Result < ( ) > {
4848 let xdg_config_dir = dirs:: config_dir ( ) ;
4949 if xdg_config_dir. is_none ( ) {
50- return Err ( anyhow ! ( "$XDG_CONFIG does not exists " ) ) ;
50+ return Err ( anyhow ! ( "$XDG_CONFIG does not exist " ) ) ;
5151 }
5252
5353 let xdg_config = Settings :: bombadil_config_xdg_path ( ) ?;
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ impl Settings {
204204 } ;
205205
206206 if path. exists ( ) . not ( ) {
207- return Err ( anyhow ! ( "Dotfiles directory {:?} does not exists " , & path) ) ;
207+ return Err ( anyhow ! ( "Dotfiles directory {:?} does not exist " , & path) ) ;
208208 }
209209
210210 Ok ( path)
You can’t perform that action at this time.
0 commit comments