Skip to content

Commit

Permalink
just formatting JS code in gulpfile.js
Browse files Browse the repository at this point in the history
  • Loading branch information
salaros committed May 25, 2018
1 parent 3996113 commit 385e5fe
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,8 @@ gulp.task('scss:compile', function () {
function getFilenames(path, extension) {
return fs
.readdirSync(path)
.filter(
item =>
fs.statSync(Path.join(path, item)).isFile() &&
(extension === undefined || Path.extname(item) === extension)
)
.filter(item => fs.statSync(Path.join(path, item)).isFile() &&
(extension === undefined || Path.extname(item) === extension))
.sort();
}

Expand Down

0 comments on commit 385e5fe

Please sign in to comment.