Skip to content

Commit

Permalink
Use double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonEtco committed Dec 13, 2022
1 parent 7584968 commit c99d654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export async function createAnIssue (tools: Toolkit) {
if (updateExisting !== null) {
tools.log.info(`Fetching issues with title "${templated.title}"`)

let query = `is:issue repo:${process.env.GITHUB_REPOSITORY} in:title '${templated.title.replace(/['"]/g, "\\$&")}'`
let query = `is:issue repo:${process.env.GITHUB_REPOSITORY} in:title "${templated.title.replace(/['"]/g, "\\$&")}"`

const searchExistingType = tools.inputs.search_existing || 'open'
const allowedStates = ['open', 'closed']
Expand Down

0 comments on commit c99d654

Please sign in to comment.