Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
yarn lint:js --fix
  • Loading branch information
ac committed Oct 4, 2018
1 parent b29b46e commit f3e977a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/gatsby-plugin-manifest/src/gatsby-ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ exports.onRenderBody = ({ setHeadComponents }, pluginOptions) => {

if (!cacheId) {
cacheId = crypto
.createHash("sha1")
.createHash(`sha1`)
.update(fs.readFileSync(`public${favicon}`))
.digest("hex")
.digest(`hex`)
}

setHeadComponents([
<link
key={`gatsby-plugin-manifest-icon-link`}
rel="shortcut icon"
href={[withPrefix(favicon), cacheId].join("?")}
href={[withPrefix(favicon), cacheId].join(`?`)}
/>,
])
}
Expand Down

0 comments on commit f3e977a

Please sign in to comment.