Functionutilsv0.8.6-next.0formatFilePathFormats a file path relative to the current working directory. A path outside the working directory, or any path on a runtime without process, is returned unchanged. formatFilePath( filePath: string, options?: FormatFileOptions ): stringExamplesCopy// cwd is /repo formatFilePath('/repo/src/Bot.ts'); // './src/Bot.ts' formatFilePath('/repo/src/Bot.ts', { onlyDir: true }); // './src' formatFilePath('/repo/src/Bot.ts', { prefix: '' }); // 'src/Bot.ts'ParamsfilePathfilePath: stringoptions?options?: FormatFileOptions