Skip to content

Commit c3686e7

Browse files
author
Alex Page
committed
FIx linting error
1 parent eb6c8c4 commit c3686e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const generateMutationQuery = require('./generate-mutation-query');
2929

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

0 commit comments

Comments
 (0)