Skip to content

Commit

Permalink
pull debug log change
Browse files Browse the repository at this point in the history
  • Loading branch information
agonzalez0515 committed Oct 4, 2017
2 parents 81476f4 + 9857e56 commit 803f2f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/handle-create-event.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function handleCreateEvent (context) {
const {ref, ref_type: refType, repository} = context.payload
const config = await context.config('first-timers.yml', {labels: ['first-timers-only', 'hacktoberfest'], repository: repository.name})

const debug = getDebug(`probot:first-timers-bot:${repository.full_name.toLowerCase()}`)
const debug = getDebug(`probot:first-timers:${repository.full_name.toLowerCase()}`)
debug(`webhook received for ${refType} "${ref}"`)

// run only for newly created branches that start with "first-timers-"
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const debug = require('debug')('probot:first-timers-bot')
const debug = require('debug')('probot:first-timers')

const handleCreateEvent = require('./lib/handle-create-event')

Expand Down

0 comments on commit 803f2f2

Please sign in to comment.