(path: string)
| 900 | |
| 901 | // Utility functions |
| 902 | export function normalizePath(path: string): string { |
| 903 | return path.replace(/\\/g, '/').replace(/\/+/g, '/').replace(/^\//, '').replace(/\/$/, ''); |
| 904 | } |
| 905 | |
| 906 | export function stringifyYaml(obj: any): string { |
| 907 | return require('yaml').stringify(obj); |
no outgoing calls
no test coverage detected