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:
renovate[bot]
2019-05-01 11:57:30 +06:30
committed by Jennifer Shehane
parent 3149b11362
commit ea1b2a10a1
2 changed files with 7 additions and 8 deletions
+6 -7
View File
@@ -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) => {
+1 -1
View File
@@ -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",