We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4897a6 commit 0ae9c37Copy full SHA for 0ae9c37
scripts/utils.ts
@@ -29,7 +29,7 @@ export async function getChangedFiles(): Promise<string[]> {
29
console.log(projectRoot);
30
const git = simpleGit(projectRoot);
31
const diff = await git.diff(['--name-only', 'origin/main...HEAD']);
32
- const changedFiles = diff.split('\n');
+ const changedFiles = diff.split('\n').filter(Boolean);
33
34
return changedFiles;
35
}
0 commit comments