Skip to content

Commit

Permalink
Remove debug logging from browser code
Browse files Browse the repository at this point in the history
  • Loading branch information
0x80 committed May 2, 2017
1 parent b069320 commit da4a024
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/gatsby/lib/cache-dir/api-runner-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
// ]

module.exports = (api, args, defaultReturn) => {
console.log(`running gatsby plugins for api "${api}" with args`, args)

// Run each plugin in series.
let results = plugins.map(plugin => {
if (plugin.plugin[api]) {
Expand All @@ -19,8 +17,6 @@ module.exports = (api, args, defaultReturn) => {
// Filter out undefined results.
results = results.filter(result => typeof result !== `undefined`)

console.log(`results`, results)

if (results.length > 0) {
return results
} else if (defaultReturn) {
Expand Down

0 comments on commit da4a024

Please sign in to comment.