0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

chore: remove unused parameter

This commit is contained in:
Juan Picado @jotadeveloper 2019-07-28 11:44:28 +02:00 committed by GitHub
parent e319435d73
commit fcd8a7f7bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}