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

Function getBundlerOptions

src/rest/scripts/update-files.js:132–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130}
131
132async function getBundlerOptions() {
133 let includeParams = []
134
135 if (versions) {
136 includeParams = versions
137 }
138 if (includeUnpublished) {
139 includeParams.push('--include_unpublished')
140 }
141 if (includeDeprecated) {
142 includeParams.push('--include_deprecated')
143 }
144
145 return includeParams.join(' ')
146}
147
148async function validateInputParameters() {
149 // The `--versions` and `--decorate-only` options cannot be used

Callers 1

getBundledFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected