Skip to content

Commit

Permalink
[CodeFactor] Apply fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
code-factor committed May 16, 2022
1 parent 7e236ba commit 414b8b3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const siteMetadata = require('./site-metadata.json')
const siteMetadata = require('./site-metadata.json');
module.exports = {
pathPrefix: '/',
siteMetadata: siteMetadata,
Expand Down
2 changes: 1 addition & 1 deletion plugins/gatsby-remark-page-creator/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function findFileNode({node, getNode}) {
return null;
}

return fileNode
return fileNode;
}

exports.onCreateNode = ({node, getNode, actions}, options) => {
Expand Down
4 changes: 2 additions & 2 deletions plugins/gatsby-source-data/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exports.sourceNodes = (props, pluginOptions = {}) => {
}

if (!path.isAbsolute(pluginOptions.path)) {
pluginOptions.path = path.resolve(process.cwd(), pluginOptions.path)
pluginOptions.path = path.resolve(process.cwd(), pluginOptions.path);
}

reporter.info(`[gatsby-source-data] setup file watcher and create site data`);
Expand Down Expand Up @@ -118,6 +118,6 @@ function convertDataFilesToJSON(dataFiles, dataDirPath, reporter) {
});
});
return Promise.all(promises).then(results => {
return _.reduce(results, (data, res) => _.merge(data, res), {})
return _.reduce(results, (data, res) => _.merge(data, res), {});
});
}
2 changes: 1 addition & 1 deletion src/sass/imports/_posts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

.post-full {
.post-content {
padding: 1.5em 1.5em;
padding: 1.5em;
}

.post-meta {
Expand Down

0 comments on commit 414b8b3

Please sign in to comment.