Commit 5450e48f authored by Ruben Bridgewater's avatar Ruben Bridgewater Committed by ZYSzys
Browse files

worker: simplify filename checks

Replace a couple of checks with a single regular expression.

PR-URL: https://github.com/nodejs/node/pull/27233


Reviewed-By: default avatarRichard Lau <riclau@uk.ibm.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarYongsheng Zhang <zyszys98@gmail.com>
parent c61c722c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment