diff --git a/scripts/lib/import-cycle-graph.ts b/scripts/lib/import-cycle-graph.ts index c54cdebacea..9fe46e35e9e 100644 --- a/scripts/lib/import-cycle-graph.ts +++ b/scripts/lib/import-cycle-graph.ts @@ -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("/"); } diff --git a/scripts/lib/plugin-npm-package-manifest.mjs b/scripts/lib/plugin-npm-package-manifest.mjs index cf158666bec..d32f8b42e41 100644 --- a/scripts/lib/plugin-npm-package-manifest.mjs +++ b/scripts/lib/plugin-npm-package-manifest.mjs @@ -184,7 +184,7 @@ function parseRunArgs(argv) { }; } -export function main(argv = process.argv.slice(2)) { +function main(argv = process.argv.slice(2)) { const { packageDir, command, args } = parseRunArgs(argv); return withAugmentedPluginNpmManifestForPackage({ packageDir }, ({ packageDir: cwd }) => { const result = spawnSync(command, args, {