<commit_before>'use strict';

const gulp        = require('gulp');
const del         = require('del');
const browserSync = require('browser-sync').create();

// Tasks
const scripts   = require('./tasks/scripts');
const sass      = require('./tasks/sass');
const html      = require('./tasks/html');

/**
 * @name clean
 * @description Apaga todo o diretório de build
 */
gulp.task('clean', function(done) {
  del('build/', done());
});

/**
 * @name browsersync
 * @description Inicia um servidor de desenvolvimento com livereload
 */
gulp.task('browsersync', function(done) {
  browserSync.init({
    server: {
      baseDir: ['build']
    },
    port: 9005,
    files: ['build/js', 'build/css']
  });

  done();
});

/**
 * @name default
 * @description Tasks compartilhadas
 */
gulp.task('default', gulp.series(
  sass.dev,
  scripts.dev,
  html.task,
  'browsersync'
));<commit_msg>The done function should be passed as callback<commit_after>'use strict';

const gulp        = require('gulp');
const del         = require('del');
const browserSync = require('browser-sync').create();

// Tasks
const scripts   = require('./tasks/scripts');
const sass      = require('./tasks/sass');
const html      = require('./tasks/html');

/**
 * @name clean
 * @description Apaga todo o diretório de build
 */
gulp.task('clean', function(done) {
  del('build/', done);
});

/**
 * @name browsersync
 * @description Inicia um servidor de desenvolvimento com livereload
 */
gulp.task('browsersync', function(done) {
  browserSync.init({
    server: {
      baseDir: ['build']
    },
    port: 9005,
    files: ['build/js', 'build/css']
  });

  done();
});

/**
 * @name default
 * @description Tasks compartilhadas
 */
gulp.task('default', gulp.series(
  sass.dev,
  scripts.dev,
  html.task,
  'browsersync'
));
{'fraction_non_alphanumeric': 0.17970049916805325, 'fraction_numerical': 0.004437049362174155, 'mean_word_length': 3.357487922705314, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7204160', 'n_tokens_mistral': 606, 'n_tokens_neox': 595, 'n_words': 141}