Sha256: 2b0fca24a86eef439511347653206b5edb57424cd6e0b24100fc184e1d9803bf
Contents?: true
Size: 400 Bytes
Versions: 24
Compression:
Stored size: 400 Bytes
Contents
'use strict'; class NoFilesFoundError extends Error { /** * @param {string|string[]} fileList */ constructor(fileList) { super(); if (typeof fileList === 'string') { fileList = [fileList]; } const pattern = fileList.filter((i) => !i.startsWith('!')).join(', '); this.message = `No files matching the pattern "${pattern}" were found.`; } } module.exports = NoFilesFoundError;
Version data entries
24 entries across 24 versions & 1 rubygems