Skip to content

Commit 2381ab8

Browse files
Merge pull request #19 from getflights/ci-provider-not-github
filter out the .github folder when ciProvider is not github
2 parents e70cdb4 + 40608af commit 2381ab8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ module.exports = {
4646
files(options) {
4747
let files = this._super.files.apply(this, arguments);
4848

49+
if (options.ciProvider !== 'github') {
50+
files = files.filter((file) => file.indexOf('.github') < 0);
51+
}
52+
4953
if (!options.typescript) {
5054
let ignoredFiles = ['tsconfig.json'];
5155

0 commit comments

Comments
 (0)