Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Jan 25, 2021
1 parent 4996289 commit 6c65e56
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions skip-docs-change.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ const DOCS_FOLDERS = ['bench', 'docs', 'errors', 'examples']
async function main() {
await exec('git fetch origin canary')

console.log(await exec('git branch'))
console.log(await exec('git remote -v'))

const { stdout: changedFilesOutput } = await exec(
'git diff origin/canary --name-only'
)
Expand All @@ -19,8 +16,6 @@ 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 6c65e56

Please sign in to comment.