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:
parent
e319435d73
commit
fcd8a7f7bf
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue