stylelint
Version:
A mighty CSS linter that helps you avoid errors and enforce conventions.
16 lines (12 loc) • 449 B
JavaScript
// NOTICE: This file is generated by Rollup. To modify it,
// please instead edit the ESM counterpart and rebuild with Rollup (npm run build).
;
const node_util = require('node:util');
/**
* @param {unknown} error
* @returns {error is NodeJS.ErrnoException}
*/
function isPathNotFoundError(error) {
return node_util.types.isNativeError(error) && 'code' in error && error.code === 'ENOENT';
}
module.exports = isPathNotFoundError;