Skip to content

Commit

Permalink
fix(core): remove fatal: no path specified logs from daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammisuli committed Jul 14, 2023
1 parent 4f9f04f commit d656977
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ function computeWorkspaceConfigHash(
* TODO(Cammisuli): remove after 16.4 - Rust watcher handles nested gitignores
*/
function filterUpdatedFiles(files: string[]) {
if (files.length === 0) {
return files;
}

try {
const quoted = files.map((f) => '"' + f + '"');
const ignored = execSync(`git check-ignore ${quoted.join(' ')}`, {
Expand Down

0 comments on commit d656977

Please sign in to comment.