| 12 | const IS_WINDOWS = process.platform === 'win32'; |
| 13 | |
| 14 | export interface InitOptions { |
| 15 | dir: string; |
| 16 | force: boolean; |
| 17 | name: string | undefined; |
| 18 | packageManager: PackageManager; |
| 19 | install: boolean; |
| 20 | git: boolean; |
| 21 | } |
| 22 | |
| 23 | export function sanitizeDirName(value: string): string { |
| 24 | const trimmed = value.trim(); |
nothing calls this directly
no outgoing calls
no test coverage detected