mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-26 00:50:41 -05:00
d01932bf75
* fix: use graceful-fs always, warn in development on sync calls * skip prop linting in some dirs * eslint rules * use AST-based lint rule instead * comment * ignore existsSync * run without nextTick * remove dev warning code * fix order * register TS first * fix tests * fix test * cover new call site * fix new test
8 lines
178 B
TypeScript
8 lines
178 B
TypeScript
import gracefulFs from 'graceful-fs'
|
|
import type fs from 'fs'
|
|
|
|
export function patchFs (_fs: typeof fs) {
|
|
// Add gracefulFs for EMFILE queuing.
|
|
gracefulFs.gracefulify(_fs)
|
|
}
|