Skip to content

Commit

Permalink
1.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
max-mapper committed May 11, 2021
1 parent b231310 commit 2509650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asana.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module.exports.addGithubPrToAsanaTask = async function (token, gid, title, url)
await module.exports.addAsanaComment(token, gid, comment)
}

module.exports.getAsanaShortId = async function getAsanaShortId (str) {
module.exports.getAsanaShortId = function getAsanaShortId (str) {
if (!str) return null
const match = /!([0-9]{4,10})/.exec(str)
if (match) return match[1]
Expand Down

0 comments on commit 2509650

Please sign in to comment.