Skip to content

Commit fe50cf2

Browse files
authored
Consider ITEM_PENDING_REVIEW successful (#67)
1 parent 6dbd98f commit fe50cf2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"ava": "^5.2.0",
5858
"execa": "^7.0.0",
5959
"is-stream": "^3.0.0",
60-
"xo": "^0.53.1"
60+
"xo": "^0.54.2"
6161
},
6262
"engines": {
6363
"node": "^14.13.1 || >=16.0.0"

util.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ export function handlePublishStatus(item) {
1111
return;
1212
}
1313

14+
if (firstStatus === 'ITEM_PENDING_REVIEW') {
15+
console.log('Publish pending review');
16+
return;
17+
}
18+
1419
throw item;
1520
}
1621

0 commit comments

Comments
 (0)