Skip to content

Commit

Permalink
Add double quotes for git commands
Browse files Browse the repository at this point in the history
  • Loading branch information
atuchin-m committed Nov 4, 2024
1 parent 8c66a0f commit ede9199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/seed_tools/utils/studies_to_seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async function readStudiesAtRevision(
}> {
const basePath = wsPath('//');
studiesDir = path.relative(basePath, studiesDir);
const files = execSync(`git show ${revision}:${studiesDir}`, {
const files = execSync(`git show "${revision}":"${studiesDir}"`, {
encoding: 'utf8',
}).split('\n');

Expand Down

0 comments on commit ede9199

Please sign in to comment.