gatsbyjs / gatsby-docker

Docker image that builds and hosts a Gatsby site
MIT License
356 stars 88 forks source link

Blockonlinenet #54

Closed imanuel112 closed 1 year ago

imanuel112 commented 1 year ago
gatsbot[bot] commented 1 year ago
Fails
:no_entry_sign: Danger failed to run `/app/peril-downloaded-gatsbyjs/gatsby@peril/rules/emptybody.ts`.

Error TypeError

Cannot read property 'trim' of null
TypeError: Cannot read property 'trim' of null
    at Object.exports.emptybody (/app/peril-downloaded-gatsbyjs/gatsby@peril/rules/emptybody.ts:12:14)
    at Object.exports.default (/app/peril-downloaded-gatsbyjs/gatsby@peril/rules/emptybody.ts:17:13)
    at Object.<anonymous> (/app/node_modules/danger/distribution/runner/runners/inline.js:147:60)
    at step (/app/node_modules/danger/distribution/runner/runners/inline.js:32:23)
    at Object.next (/app/node_modules/danger/distribution/runner/runners/inline.js:13:53)
    at /app/node_modules/danger/distribution/runner/runners/inline.js:7:71
    at new Promise (<anonymous>)
    at __awaiter (/app/node_modules/danger/distribution/runner/runners/inline.js:3:12)
    at Object.exports.runDangerfileEnvironment (/app/node_modules/danger/distribution/runner/runners/inline.js:105:136)
    at runDangerAgainstFileInline (/app/out/danger/danger_runner.js:56:37)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Dangerfile

 7| maintainers resolve your issue.\
 8| `
 9| 
10| export const emptybody = () => {
11|   const {
----------------^
12|     user: { login: username },
13|     body,
14|   } = danger.github.issue as any
15| 

Generated by :no_entry_sign: dangerJS