mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-08 23:25:51 +01:00
chore: remove unused parameter
This commit is contained in:
parent
e319435d73
commit
fcd8a7f7bf
@ -50,7 +50,7 @@ export function convertPayloadToBase64(payload: string): Buffer {
|
||||
* @param {*} name the package name
|
||||
* @return {Boolean} whether is valid or not
|
||||
*/
|
||||
export function validateName(name: string, isScoped: boolean = false): boolean {
|
||||
export function validateName(name: string): boolean {
|
||||
if (_.isString(name) === false) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user