Skip to content

Commit

Permalink
refactor: small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkeyl committed Aug 31, 2024
1 parent dc50a04 commit fe80bed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import type { Parameters } from './parameters.ts';
* It returns `true` if the file name matches the specified regex,
* and `false` if it does not match.
*/

const validateFontFileName = async (parameters: Parameters) => {
const { file, regex = '' } = parameters;

Expand All @@ -34,7 +33,7 @@ const validateFontFileName = async (parameters: Parameters) => {

if (!match) {
await error({
message: [`(${fileName}) doesn't match with (${selectRegex})`],
message: `(${fileName}) doesn't match with (${selectRegex})`,
});

return false;
Expand Down

0 comments on commit fe80bed

Please sign in to comment.