0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 13:38:32 +00:00
renovatebot_renovate/lib/modules/manager/conan/common.ts
Louis Segretin cedc8e2f6b
feat(conan): add revisions support (#16871)
* feat: add conan revisions

* Adding getDigest and moved function

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Changing undefined condition

* Minimize tests

* Extract isCommon to new common.ts

* Removing isComment

* Update lib/modules/datasource/conan/types.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Removing digest from getReleases

* Removing digest from packageName

* cleaning up and fixing caching

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Adding back eslint-disable-next-line

* forcing registryUrl

* move to joinurlparts

* Refactor depName and userAndChannel

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-11 21:07:54 +02:00

4 lines
91 B
TypeScript

export function isComment(line: string): boolean {
return line.trim().startsWith('#');
}