Function
getNormalizedCommitOption
(
thing: boolean | readonly [string, any] | string
)
Source from the content-addressed store, hash-verified
| 44 | } |
| 45 | |
| 46 | function getNormalizedCommitOption( |
| 47 | thing: boolean | readonly [string, any] | string |
| 48 | ): Config["commit"] { |
| 49 | if (thing === false) { |
| 50 | return false; |
| 51 | } |
| 52 | if (thing === true) { |
| 53 | return ["@changesets/cli/commit", { skipCI: "version" }]; |
| 54 | } |
| 55 | if (typeof thing === "string") { |
| 56 | return [thing, null]; |
| 57 | } |
| 58 | return thing; |
| 59 | } |
| 60 | |
| 61 | function getUnmatchedPatterns( |
| 62 | listOfPackageNamesOrGlob: readonly string[], |
Tested by
no test coverage detected