(toVersion?: string)
| 109 | // expects a version number, or latest. |
| 110 | // if version number is specified, prepend it with '@' for ncu. |
| 111 | function getTargetVersion(toVersion?: string): NcuRunOptionTarget { |
| 112 | if (!toVersion) { |
| 113 | return "latest"; |
| 114 | } |
| 115 | return toVersion === "latest" ? "latest" : `@${toVersion}`; |
| 116 | } |
| 117 | |
| 118 | async function hasUserConfirmed( |
| 119 | packagesToUpdate: string[], |
no outgoing calls
no test coverage detected
searching dependent graphs…