File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,12 @@ fn main() {
2020
2121 match fs:: read_to_string ( "src/lib.rs" ) {
2222 Ok ( content) if !content. trim ( ) . is_empty ( ) => {
23- println ! ( "cargo:warning=PlayStation files already present, skipping setup" ) ;
2423 return ;
2524 }
26- _ => {
27- println ! ( "cargo:warning=Setting up PlayStation support" ) ;
28- }
25+ _ => { }
2926 }
3027
28+ println ! ( "cargo:warning=Setting up PlayStation support" ) ;
3129 let temp_dir = tempdir ( ) . expect ( "Failed to make temp_dir" ) ;
3230 let temp_dir_path = temp_dir. path ( ) ;
3331 let temp_dir_str = temp_dir_path. to_string_lossy ( ) . to_string ( ) ;
@@ -72,6 +70,4 @@ fn main() {
7270 . args ( [ "update-index" , "--skip-worktree" , "src/lib.rs" ] )
7371 . status ( )
7472 . expect ( "Failed to skip worktree" ) ;
75-
76- println ! ( "cargo:warning=Finished setting up" ) ;
7773}
You can’t perform that action at this time.
0 commit comments