-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding tag as a possible parameter to POST /packages #265
base: main
Are you sure you want to change the base?
Conversation
} | ||
|
||
out.versions[PACKAGE_VER] = buildMeta(opts); | ||
buildAbsentVer(PACKAGE_VER, opts) |
Check notice
Code scanning / CodeQL
Semicolon insertion Note
the enclosing function
let tag; | ||
if(possibleTag) { | ||
tag = await provider.tag(userObj, ownerRepo, possibleTag); | ||
tag = tag.content |
Check notice
Code scanning / CodeQL
Semicolon insertion Note
the enclosing function
tags.content.sort((a, b) => { | ||
return semver.rcompare(a.name, b.name); | ||
}); | ||
tag = tags.content[0] |
Check notice
Code scanning / CodeQL
Semicolon insertion Note
the enclosing function
tag = await provider.tag(userObj, ownerRepo, possibleTag); | ||
tag = tag.content | ||
} else { | ||
tags = await provider.tags(userObj, ownerRepo); |
Check warning
Code scanning / CodeQL
Missing variable declaration Warning
Requirements
Filling out the template is required.
All new code requires tests to ensure against regressions.
Have you ran tests against this code?
This PR contains zero code changes.
Description of the Change
Still a draft...