DEP0187:向 fs.existsSync 传递无效的参数类型


【DEP0187: Passing invalid argument types to fs.existsSync

类型:仅文档

【Type: Documentation-only】

传递不支持的参数类型已被弃用,将来版本中不会返回 false,而是会抛出错误。

【Passing non-supported argument types is deprecated and, instead of returning false, will throw an error in a future version.】