Functionutilsv0.9.0formatFilePathFormats a file path relative to the current working directory, with forward slashes on every OS. It returns the full path when the path is outside the working directory or the runtime has no process. 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