mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-23 07:30:26 -06:00
* 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)
|
|
}
|