1
0
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:
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

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