mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-22 15:12:27 -05:00
fix(deps): update dependency find-process to version 1.4.1 🌟 (#4087)
* fix(deps): update find-process to 1.4.1 🌟 * Remove 'isFinite' check as this is done by default in 'find-process' dep - See this change: https://github.com/yibn2008/find-process/compare/1.2.2...1.2.3#diff-d460 8a571ae373e4877cb099c7a44b57R127 - some auto-linting updates Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
This commit is contained in:
committed by
Jennifer Shehane
parent
3149b11362
commit
ea1b2a10a1
@@ -21,19 +21,18 @@ const getPidFromFolder = (folder, pidPrefix) => {
|
||||
)
|
||||
}
|
||||
|
||||
const folderWithPid = (pidPrefix) => (folder) => {
|
||||
return {
|
||||
folder,
|
||||
pid: getPidFromFolder(folder, pidPrefix),
|
||||
const folderWithPid = (pidPrefix) => {
|
||||
return (folder) => {
|
||||
return {
|
||||
folder,
|
||||
pid: getPidFromFolder(folder, pidPrefix),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// find all the pids not associated to a cypress process
|
||||
const inactivePids = ({ pid }) => {
|
||||
debug('finding process by pid:', pid)
|
||||
if (!_.isFinite(pid)) {
|
||||
return null
|
||||
}
|
||||
|
||||
return findProcess.byPid(pid)
|
||||
.then((processes) => {
|
||||
|
||||
@@ -133,7 +133,7 @@
|
||||
"execa": "1.0.0",
|
||||
"express": "4.16.4",
|
||||
"express-handlebars": "3.0.2",
|
||||
"find-process": "1.2.1",
|
||||
"find-process": "1.4.1",
|
||||
"fluent-ffmpeg": "2.1.2",
|
||||
"fs-extra": "4.0.3",
|
||||
"getos": "2.8.4",
|
||||
|
||||
Reference in New Issue
Block a user