MCPcopy Index your code
hub / github.com/github/docs / checkForDeprecatedGhaeVersioning

Function checkForDeprecatedGhaeVersioning

tests/linting/lint-versioning.js:111–117  ·  view source on GitHub ↗
(version, errors)

Source from the content-addressed store, hash-verified

109// See details in docs-internal#29178.
110// We can remove this after semantic versioning has been in place for a while.
111function checkForDeprecatedGhaeVersioning(version, errors) {
112 if (/ghae-issue-\d+/.test(version)) {
113 errors.push(`
114 Lightweight feature flags ('${version}') are no longer supported in content. Use semantic versioning instead (ghae > 3.x or ghae: '> 3.x').
115 `)
116 }
117}
118
119function validateIfversionConditionals(conds) {
120 const errors = []

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected