Skip to content

Commit 1573828

Browse files
committed
feat: gracful-fs for EMFILE: too many open files
1 parent 02413f9 commit 1573828

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"@salesforce/core": "^2.33.1",
4747
"@salesforce/kit": "^1.5.17",
4848
"@salesforce/source-deploy-retrieve": "^5.9.4",
49+
"graceful-fs": "^4.2.9",
4950
"isomorphic-git": "1.16.0",
5051
"ts-retry-promise": "^0.6.0"
5152
},

src/shared/localShadowRepo.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
* Licensed under the BSD 3-Clause license.
55
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66
*/
7-
/* eslint-disable no-console */
87

98
import * as path from 'path';
109
import * as os from 'os';
11-
import * as fs from 'fs';
10+
import * as fs from 'graceful-fs';
1211
import { NamedPackageDir, Logger } from '@salesforce/core';
1312
import * as git from 'isomorphic-git';
1413
import { pathIsInFolder } from './functions';

yarn.lock

+5
Original file line numberDiff line numberDiff line change
@@ -2943,6 +2943,11 @@ graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0,
29432943
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.8.tgz#e412b8d33f5e006593cbd3cee6df9f2cebbe802a"
29442944
integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==
29452945

2946+
graceful-fs@^4.2.9:
2947+
version "4.2.9"
2948+
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.9.tgz#041b05df45755e587a24942279b9d113146e1c96"
2949+
integrity sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==
2950+
29462951
growl@1.10.5:
29472952
version "1.10.5"
29482953
resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e"

0 commit comments

Comments
 (0)