Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/platform/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,13 @@ pub fn check_persistence(report: &mut Report, user_config: Option<&UserConfig>)
if let Ok(out) = output {
let text = String::from_utf8_lossy(&out.stdout);
let mut current_task = String::new();
let mut current_action = String::new();
for line in text.lines() {
let line = line.trim();
if let Some(val) = line.strip_prefix("TaskName:") {
current_task = val.trim().to_string();
}
if let Some(val) = line.strip_prefix("Task To Run:") {
current_action = val.trim().to_string();
let current_action = val.trim().to_string();
let lower = current_action.to_lowercase();
if task_patterns
.iter()
Expand Down
Loading