Skip to content

Commit

Permalink
fix: still debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoamui committed Sep 7, 2022
1 parent 4b07c09 commit 9d75c0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/getDocsList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { config } from 'utils/config'
const MyOctokit = Octokit.plugin(throttling)

if (process.env.NETLIFY) {
console.log(`Env variable: ${config}`)
console.log(`Env variable: ${JSON.stringify(config)}`)
}

const octokit = new MyOctokit({
Expand Down
2 changes: 1 addition & 1 deletion src/utils/getGithubFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { config } from 'utils/config'
const MyOctokit = Octokit.plugin(throttling)

if (process.env.NETLIFY) {
console.log(`Env variable: ${config}`)
console.log(`Env variable: ${JSON.stringify(config)}`)
}

const octokit = new MyOctokit({
Expand Down

0 comments on commit 9d75c0a

Please sign in to comment.