1
0
mirror of synced 2025-12-30 03:01:36 -05:00

Always set 'size' when adding items to the review board (#32806)

This commit is contained in:
Steve Guntrip
2022-11-22 08:39:22 +00:00
committed by GitHub
parent 1668466c58
commit 6f8e209a2e

View File

@@ -86,7 +86,7 @@ async function run() {
// If the item is a PR, determine the feature and size
let feature = ''
let sizeType = '' // You don't need to use a field ID if you want the value to be empty
let sizeType = sizeS // We need to set something in case this is an issue
if (data.item.__typename === 'PullRequest') {
// Get the
// - number of files changed
@@ -212,7 +212,6 @@ async function run() {
authorID,
headers: {
authorization: `token ${process.env.TOKEN}`,
'GraphQL-Features': 'projects_next_graphql',
},
})
console.log('Done populating fields for item')