Skip to content

Commit

Permalink
chore: Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
phated authored and actions-user committed Jun 9, 2021
1 parent cfaad8c commit a1dacc2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ module.exports = function gulpPug(options) {

vinylContents(file, function onContents(err, contents) {
if (err) {
return cb(new PluginError('gulp-pug', err, { fileName: opts.filename }));
return cb(
new PluginError('gulp-pug', err, { fileName: opts.filename })
);
}

if (!contents) {
Expand All @@ -41,7 +43,9 @@ module.exports = function gulpPug(options) {
}
file.contents = Buffer.from(compiled);
} catch (err) {
return cb(new PluginError('gulp-pug', err, { fileName: opts.filename }));
return cb(
new PluginError('gulp-pug', err, { fileName: opts.filename })
);
}

cb(null, file);
Expand Down

0 comments on commit a1dacc2

Please sign in to comment.