MCPcopy Create free account
hub / github.com/omkarcloud/botasaurus / getReadmePath

Function getReadmePath

js/botasaurus-server-js/src/paths.ts:63–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63export function getReadmePath(): string {
64 if (isElectron) {
65 if (isElectronAndDev) {
66 if (isRunningInErbDll()) {
67 return path.join(__dirname, "../", "../", "README.md");
68 }
69 }
70 return path.join(__dirname, "README.md");
71 }
72 return path.join(process.cwd(), "README.md");
73}
74
75export function getInputFilePath(arg1: string): string {
76 if (isElectron) {

Callers 1

getReadmeFunction · 0.90

Calls 2

isRunningInErbDllFunction · 0.85
joinMethod · 0.80

Tested by

no test coverage detected