Commit 091b741 1 parent b637cfa commit 091b741 Copy full SHA for 091b741
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ pub fn dir_root(path: impl AsRef<Path>)
255
255
if !path. is_dir ( ) {
256
256
let path = path. display ( ) ;
257
257
error ! ( "FileServer path '{}' is not a directory." , path. primary( ) ) ;
258
- warn_ ! ( "Aborting early to prevent inevitable handler error." ) ;
258
+ warn ! ( "Aborting early to prevent inevitable handler error." ) ;
259
259
panic ! ( "invalid directory: refusing to continue" ) ;
260
260
}
261
261
let path = path. to_path_buf ( ) ;
@@ -288,7 +288,7 @@ pub fn file_root(path: impl AsRef<Path>)
288
288
if !path. exists ( ) {
289
289
let path = path. display ( ) ;
290
290
error ! ( "FileServer path '{}' is not a file." , path. primary( ) ) ;
291
- warn_ ! ( "Aborting early to prevent inevitable handler error." ) ;
291
+ warn ! ( "Aborting early to prevent inevitable handler error." ) ;
292
292
panic ! ( "invalid file: refusing to continue" ) ;
293
293
}
294
294
let path = path. to_path_buf ( ) ;
You can’t perform that action at this time.
0 commit comments