diff --git a/src/lib/format.ts b/src/lib/format.ts index b75668e0..c0246acf 100644 --- a/src/lib/format.ts +++ b/src/lib/format.ts @@ -1,5 +1,3 @@ -const { sep } = require('path') - export function relativify(path: string) { - return path.startsWith('.') ? path : `.${sep}${path}` + return path.startsWith('.') ? path : `./${path}` }