Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gulpfile.js/tasks/favicon.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const FAVICON_DATA_FILE = 'faviconData.json';
// You should run it at least once to create the icons. Then,
// you should run it whenever RealFaviconGenerator updates its
// package (see the check-for-favicon-update task below).
gulp.task('generate-favicon', function (done) {
gulp.task('generate-favicon', (done) => {
realFavicon.generateFavicon({
masterPicture: 'packet/static/assets/logo.svg',
dest: 'packet/static',
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js/tasks/pylint.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const gulp = require('gulp');
const exec = require('child_process').exec;

let pylintTask = function (cb) {
let pylintTask = (cb) => {
exec('pylint packet', function (err, stdout, stderr) {
console.log(stdout);
console.log(stderr);
Expand Down
4 changes: 2 additions & 2 deletions gulpfile.js/tasks/stylesheets.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const cleanCSS = require('gulp-clean-css');
const rename = require("gulp-rename");

// Compile SCSS
gulp.task('sass:compile', function () {
gulp.task('sass:compile', () => {
return gulp.src('frontend/scss/**/*.scss')
.pipe(sass.sync({
outputStyle: 'expanded'
Expand All @@ -13,7 +13,7 @@ gulp.task('sass:compile', function () {
});

// Minify CSS
gulp.task('css:minify', gulp.series('sass:compile'), function () {
gulp.task('css:minify', () => {
return gulp.src([
'packet/static/css/*.css',
'!packet/static/css/*.min.css'
Expand Down