You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main.rs
+37-11Lines changed: 37 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -228,7 +228,9 @@ fn reset_path_env() {
228
228
);
229
229
}
230
230
}
231
-
env::set_var("PATH", new_path);
231
+
unsafe{
232
+
env::set_var("PATH", new_path);
233
+
}
232
234
}
233
235
234
236
fnlist_tasks(task_runner:Option<&String>){
@@ -421,7 +423,10 @@ fn diagnose() {
421
423
if runners::makefiletoml::is_available(){
422
424
if !runners::makefiletoml::is_command_available(){
423
425
problems_count += 1;
424
-
println!("{} cargo-make(https://github.com/sagiegurari/cargo-make) command not available for Makefile.toml","Warning:".bold().yellow());
426
+
println!(
427
+
"{} cargo-make(https://github.com/sagiegurari/cargo-make) command not available for Makefile.toml",
428
+
"Warning:".bold().yellow()
429
+
);
425
430
}
426
431
}
427
432
if runners::bun_shell::is_available(){
@@ -472,7 +477,10 @@ fn diagnose() {
472
477
if runners::poe::is_available(){
473
478
if !runners::poe::is_command_available(){
474
479
problems_count += 1;
475
-
println!("{} poe(https://github.com/nat-n/poethepoet) command not available for pyproject.toml, please use `uv tool install --python 3.11 poethepoet` to install.","Warning:".bold().yellow());
480
+
println!(
481
+
"{} poe(https://github.com/nat-n/poethepoet) command not available for pyproject.toml, please use `uv tool install --python 3.11 poethepoet` to install.",
482
+
"Warning:".bold().yellow()
483
+
);
476
484
}
477
485
}
478
486
if runners::argcfile::is_available(){
@@ -520,15 +528,22 @@ fn diagnose() {
520
528
.join("plugins.gradle")
521
529
.exists()
522
530
{
523
-
println!("{} global {} not available for {} task, please check https://github.com/linux-china/task-keeper#gradle",
"{} global {} not available for {} task, please check https://github.com/linux-china/task-keeper#lein",
592
+
"Suggestion:".bold().yellow(),
593
+
"profiles.clj".bold().blue(),
594
+
"outdated".bold().blue()
595
+
);
573
596
}
574
597
}
575
598
}
@@ -621,7 +644,10 @@ fn diagnose() {
621
644
if managers::cmakeconan::is_available(){
622
645
if !managers::cmakeconan::is_command_available(){
623
646
problems_count += 1;
624
-
println!("{} cmake and conan(https://github.com/conan-io/cmake-conan/) command not available for CMakeLists.txt and conanfile.txt","Warning:".bold().yellow());
647
+
println!(
648
+
"{} cmake and conan(https://github.com/conan-io/cmake-conan/) command not available for CMakeLists.txt and conanfile.txt",
0 commit comments