Skip to content

Commit

Permalink
return empty array for empty file
Browse files Browse the repository at this point in the history
  • Loading branch information
seaona committed Jul 1, 2024
1 parent 82ef0f0 commit 3783ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/changedFilesUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function readChangedFiles() {
return changedFiles;
} catch (error) {
console.error('Error reading from file:', error);
return '';
return [''];
}
}

Expand Down

0 comments on commit 3783ebf

Please sign in to comment.