mirror of
https://github.com/ModOrganizer2/mob.git
synced 2026-07-27 14:07:05 -07:00
fixed back checks of find()
This commit is contained in:
@@ -113,9 +113,9 @@ void pip::do_ensure()
|
||||
//
|
||||
// so just filter it out
|
||||
|
||||
if (f.line.find("which is not on PATH") != -1)
|
||||
if (f.line.find("which is not on PATH") != std::string::npos)
|
||||
f.lv = context::level::debug;
|
||||
else if (f.line.find("Consider adding this directory"))
|
||||
else if (f.line.find("Consider adding this") != std::string::npos)
|
||||
f.lv = context::level::debug;
|
||||
})
|
||||
.binary(tasks::python::python_exe())
|
||||
|
||||
Reference in New Issue
Block a user