Skip to content

Commit

Permalink
FIx linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Page committed Dec 10, 2020
1 parent eb6c8c4 commit c3686e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const generateMutationQuery = require('./generate-mutation-query');

// A list of columns that line up with the user entered project and column
const mutationQueries = generateMutationQuery(resource, project, column, nodeId, action);
if ((action === 'delete' || action === 'archive') && mutationQueries.length < 1) {
if ((action === 'delete' || action === 'archive') && mutationQueries.length === 0) {
console.log('✅ There is nothing to do with card');
return;
}
Expand Down

0 comments on commit c3686e7

Please sign in to comment.