From 0cda2eba48f8b705296f35ac25cc276b47b7f794 Mon Sep 17 00:00:00 2001 From: Rebecca Hum Date: Wed, 19 Jun 2024 14:56:17 -0600 Subject: [PATCH] Update src/lib/validations/custom-deploy.ts Co-authored-by: Volodymyr Kolesnykov --- src/lib/validations/custom-deploy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/validations/custom-deploy.ts b/src/lib/validations/custom-deploy.ts index 6491cbcc2..216338d1d 100644 --- a/src/lib/validations/custom-deploy.ts +++ b/src/lib/validations/custom-deploy.ts @@ -88,8 +88,8 @@ function validateZipSymlink( entry: AdmZip.IZipEntry ) { const errorMsg = errorMessages.symlink + entry.name; // DOS - /* eslint-disable no-bitwise, eqeqeq */ - if ( madeBy === 0 && ( entry.attr & 0x0400 ) == 0x0400 ) { + /* eslint-disable no-bitwise */ + if ( madeBy === 0 && ( entry.attr & 0x0400 ) === 0x0400 ) { exit.withError( errorMsg ); }