mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -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
|
* @param {*} name the package name
|
||||||
* @return {Boolean} whether is valid or not
|
* @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) {
|
if (_.isString(name) === false) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue