Skip to content

Commit

Permalink
Update src/lib/validations/custom-deploy.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Volodymyr Kolesnykov <[email protected]>
  • Loading branch information
rebeccahum and sjinks authored Jun 19, 2024
1 parent 889fd3d commit 0cda2eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/validations/custom-deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}

Expand Down

0 comments on commit 0cda2eb

Please sign in to comment.