Skip to content

Commit

Permalink
Make case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
HaveAGitGat committed May 6, 2024
1 parent 70892e9 commit 9905031
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ const plugin = (args: IpluginInputArgs): IpluginOutputArgs => {
args.inputs = lib.loadDefaultValues(args.inputs, details);

const extensions = String(args.inputs.extensions);
const extensionArray = extensions.trim().split(',');
const extensionArray = extensions.trim().split(',').map((row) => row.toLowerCase());

const extension = getContainer(args.inputFileObj._id);
const extension = getContainer(args.inputFileObj._id).toLowerCase();

let extensionMatch = false;

Expand Down

0 comments on commit 9905031

Please sign in to comment.