<commit_before>"use strict";

const Task = require('../Task'),
    gulp = require('gulp'),
    async = require('async'),
    path = require('path'),
    chalk = require('chalk'),
    Promise = require('bluebird'),
    ProjectType = require('../../ProjectType');

class BuildTask extends Task {

    constructor(buildManager, taskRunner) {
        super(buildManager, taskRunner);
        this.command = "build";
        this.availableTo = [ProjectType.FRONTEND];
        this.dependsOn = ['clean', 'prebuild-hook'];
    }

    action() {
        var targets = [];
        if (this._buildManager.isWatching() || this._buildManager.currentTarget !== 'all') {
            targets = [this._buildManager.currentTarget];<commit_msg>Remove unused async import<commit_after>"use strict";

const Task = require('../Task'),
    gulp = require('gulp'),
    path = require('path'),
    chalk = require('chalk'),
    Promise = require('bluebird'),
    ProjectType = require('../../ProjectType');

class BuildTask extends Task {

    constructor(buildManager, taskRunner) {
        super(buildManager, taskRunner);
        this.command = "build";
        this.availableTo = [ProjectType.FRONTEND];
        this.dependsOn = ['clean', 'prebuild-hook'];
    }

    action() {
        var targets = [];
        if (this._buildManager.isWatching() || this._buildManager.currentTarget !== 'all') {
            targets = [this._buildManager.currentTarget];
{'fraction_non_alphanumeric': 0.1602787456445993, 'fraction_numerical': 0.0, 'mean_word_length': 3.022408963585434, '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': '7363583', 'n_tokens_mistral': 400, 'n_tokens_neox': 395, 'n_words': 82}