Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Support directories and filenames with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Iron-Ham committed Apr 30, 2020
1 parent ede8bbc commit 2c8a693
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ const getPullRequestChangedFiles = async (octokit) => {
filesChanged = filesChanged.filter(file => !file.startsWith(path))
);
}

filesChanged.map(filename => filename.replace(/\s/g, '\\ '));
return filesChanged.filter(file => file.endsWith('.swift'));
};

Expand Down

0 comments on commit 2c8a693

Please sign in to comment.