We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf03ae6 commit 4efc22dCopy full SHA for 4efc22d
lib/parsed-yaml-retriever.js
@@ -10,6 +10,10 @@ const getParsedYaml = gh => async data => {
10
path: data.repo.config_path
11
}
12
const file = await promisify(gh.repos.getContent)(options)
13
+ if (!file.content) {
14
+ console.log('GH Response:', file)
15
+ throw new Error('Unexpected response from GitHub')
16
+ }
17
contents = Buffer.from(file.content, 'base64').toString()
18
19
const docs = contents.split('\n---\n')
0 commit comments