(input: string)
| 2 | |
| 3 | // Takes a relative path (like .) and resolves it to a full path (like /Users/username/Projects/my-triggers) |
| 4 | export const resolvePath = (input: string) => { |
| 5 | return pathModule.resolve(process.cwd(), input); |
| 6 | }; |
| 7 | |
| 8 | // Takes an absolute path and derives the relative path from the current working directory |
| 9 | export const relativePath = (input: string) => { |
no test coverage detected
searching dependent graphs…