Skip to content

Commit

Permalink
refactor: Remove redundant double negation
Browse files Browse the repository at this point in the history
  • Loading branch information
javierbrea committed Aug 15, 2023
1 parent 971012d commit 299b452
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed
- chore(deps): Update devDependencies
- chore(deps): Use NodeJs 16.x, 18.x and 20.x in pipelines
- refactor: Remove redundant double negation

## [7.0.1] - 2023-04-04

Expand Down
2 changes: 1 addition & 1 deletion src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = (on, config, pluginConfig = {}) => {
const onCancelCallback = parallelCallbacks.onCancel;

const shouldSkip = () => {
if (!!shouldSkipFlag) {
if (shouldSkipFlag) {
return shouldSkipFlag;
}
if (isCancelledCallback) {
Expand Down

0 comments on commit 299b452

Please sign in to comment.