Skip to content

Commit

Permalink
log changed files
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Jan 25, 2021
1 parent 801f9f6 commit 36d7bec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skip-docs-change.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ async function main() {
.map((file) => file && file.trim())
.filter(Boolean)

console.log(changedFiles)

let hasNonDocsChange = changedFiles.some((file) => {
return !DOCS_FOLDERS.some((folder) => file.startsWith(folder + '/'))
})
Expand Down

0 comments on commit 36d7bec

Please sign in to comment.