[pve-devel] applied: [PATCH manager] ui: eslint: fix undefined check

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Sep 16 12:51:43 CEST 2022


Am 15/09/2022 um 11:48 schrieb Dominik Csapak:
> 'typeof' cannot return 'undefined' only the string '"undefined"', newer
> eslint versions detect that as error
> 
> to fix it, directly check it for undefined instead of using typeof
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/manager6/storage/PBSEdit.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list