Skip to content

Commit

Permalink
fixed netlify badge by adding new color schema
Browse files Browse the repository at this point in the history
  • Loading branch information
tarun7singh committed Apr 2, 2021
1 parent 1eba958 commit 05295d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/netlify/netlify.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ module.exports = class Netlify extends BaseSvgScrapingService {
const { buffer } = await this._request({
url,
})
if (buffer.includes('#EAFAF9')) return { message: 'passing' }
if (buffer.includes('#FFF3F4')) return { message: 'failing' }
if (buffer.includes('#FEFAEA')) return { message: 'building' }
if (buffer.includes('#0D544F')) return { message: 'passing' }
if (buffer.includes('#900B31')) return { message: 'failing' }
if (buffer.includes('#AB6F10')) return { message: 'building' }
return { message: 'unknown' }
}

Expand Down

0 comments on commit 05295d5

Please sign in to comment.