fix
This commit is contained in:
parent
0741c67ed3
commit
46233a24ae
2
.github/workflows/assign-milestones.js
vendored
2
.github/workflows/assign-milestones.js
vendored
|
@ -25,7 +25,7 @@ module.exports = async ({github, context}) => {
|
||||||
function last2(s) {
|
function last2(s) {
|
||||||
const pos1 = s.lastIndexOf('/')
|
const pos1 = s.lastIndexOf('/')
|
||||||
const pos2 = s.lastIndexOf('/', pos1-1)
|
const pos2 = s.lastIndexOf('/', pos1-1)
|
||||||
return [ s.substring(pos2 + 1, pos1), s.substring(pos + 1) ]
|
return [ s.substring(pos2 + 1, pos1), s.substring(pos1 + 1) ]
|
||||||
}
|
}
|
||||||
|
|
||||||
// insanely enough, due to the total lack of documentation, this
|
// insanely enough, due to the total lack of documentation, this
|
||||||
|
|
Loading…
Reference in New Issue
Block a user