mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:20:44 +00:00
refactor: hide script entrypoint helpers
This commit is contained in:
@@ -7,7 +7,7 @@ type SourceFileCollectionOptions = {
|
||||
shouldSkipRepoPath?: (repoPath: string) => boolean;
|
||||
};
|
||||
|
||||
export function normalizeRepoPath(filePath: string, repoRoot: string): string {
|
||||
function normalizeRepoPath(filePath: string, repoRoot: string): string {
|
||||
return path.relative(repoRoot, filePath).split(path.sep).join("/");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user