<commit_before>'use strict';

var request = require('request'),
    fs = require('fs');

module.exports = function(grunt){

    var setBuildNumber = function(buildInfo, done){
        if (buildInfo.build.length > 0){
            var buildNumber = buildInfo.build[0].number;
            grunt.verbose.writeln('Build number is ' + buildNumber);
            grunt.option("buildNumber", buildNumber);
            done();
        }
        else{
            grunt.fail.fatal('There are no pinned builds in the response');<commit_msg>Updated task to set teamcity build number when running verbose<commit_after>'use strict';

var request = require('request'),
    fs = require('fs');

module.exports = function(grunt){

    var setBuildNumber = function(buildInfo, done){
        if (buildInfo.build.length > 0){
            var buildNumber = buildInfo.build[0].number;
            grunt.verbose.writeln('##teamcity[buildNumber \''+ buildNumber +'\']');
            grunt.option("buildNumber", buildNumber);
            done();
        }
        else{
            grunt.fail.fatal('There are no pinned builds in the response');
{'fraction_non_alphanumeric': 0.12946428571428573, 'fraction_numerical': 0.0035714285714285713, 'mean_word_length': 2.6633986928104574, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4706012', 'n_tokens_mistral': 309, 'n_tokens_neox': 300, 'n_words': 76}