Skip to content

Commit

Permalink
Merge pull request #66 from keyoke/keyoke/features
Browse files Browse the repository at this point in the history
Keyoke/features
  • Loading branch information
keyoke authored Oct 27, 2021
2 parents 2ee9d46 + 7741556 commit 0f92740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/block-duplicate-observer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class duplicateObserver implements IWorkItemNotificationListener {

const wiqlQuery = `SELECT [System.Id] FROM WorkItems WHERE ${
sameType ? `[System.WorkItemType] = '${type}' AND ` : ''
}[State] <> 'Closed' ORDER BY [System.CreatedDate] DESC`;
}[State] <> 'Closed' AND ([System.Title] <> '' OR [System.Description] <> '') ORDER BY [System.CreatedDate] DESC`;
this._logger.debug(`WIQL Query is '${wiqlQuery}'.`);

let duplicate = false;
Expand Down

0 comments on commit 0f92740

Please sign in to comment.