We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc9e806 commit 6a6c94dCopy full SHA for 6a6c94d
1 file changed
src/index.ts
@@ -127,6 +127,11 @@ const main = async () => {
127
console.log('\n');
128
129
const files = processCommits(commits);
130
+ if (files.length === 0) {
131
+ console.log('No file changes found. Skipping gist update.');
132
+ return;
133
+ }
134
+
135
const langs = await runLinguist(files);
136
console.log('\nLanguage statistics:');
137
for (const lang of langs) {
0 commit comments