diff --git a/package.json b/package.json index 956c122..7c0faf7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-run-script", - "version": "1.0.3", + "version": "1.0.4", "description": "Run a script on multiple repositories, cloning them if needed.", "main": "dist/index.js", "type": "commonjs", diff --git a/src/handler.ts b/src/handler.ts index 253d9f2..ef1aa0a 100644 --- a/src/handler.ts +++ b/src/handler.ts @@ -75,7 +75,7 @@ export default async function handler(script: string, flags: CliFlags) { for (const directory of directories) { if (repo === directory) { console.log(`Found ${repo} in ${path}`); - directoryMapping.set([owner, repo], path); + directoryMapping.set([owner, repo], `${path}/${repo}`); break; } }