Update packages/lib/src/rce_ops.ts

Copilot Suggestion - A-Z was the intend range.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Cooldude2606andCopilot authored and GitHub committed 2025-05-11 17:33:26 +01:00
1 parent 5e9beb0cf6
commit 4e6f7c5402
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@ export async function handlePluginUpdate(pluginName: string, pluginInfos: Plugin
}
export async function handlePluginInstall(pluginName: string) {
if (pluginName.length > 214 || /[^a-zA-z0-9\-_.+@\/]/.test(pluginName)) {
if (pluginName.length > 214 || /[^a-zA-Z0-9\-_.+@\/]/.test(pluginName)) {
// https://docs.npmjs.com/cli/v11/configuring-npm/package-json#name
// https://www.npmjs.com/package/validate-npm-package-name
throw new RequestError(`Invalid plugin name: ${pluginName}`);