<commit_before>
'use strict';

const path = require('path');

module.exports = (() => {
    // const akasha = require('../index');
    const Command = require('cmnd').Command;
    
    class CopyAssetsCommand extends Command {
    
        constructor() {
            super('copy-assets');
        }
      
        help() {
            return {
                description: 'Copy assets into output directory',
                args: [ 'config_file' ],
            };
        }
        
        run(args, flags, vflags, callback) {
            
            const config = require(path.join(process.cwd(), args[0]));

            config.copyAssets()
            .then(() => { callback(null); })
            .catch(err => { callback(err); });
    
        }
    }

    return CopyAssetsCommand;

})();<commit_msg>__dirname<commit_after>
'use strict';

const path = require('path');

module.exports = (() => {
    // const akasha = require('../index');
    const Command = require('cmnd').Command;
    
    class CopyAssetsCommand extends Command {
    
        constructor() {
            super('copy-assets');
        }
      
        help() {
            return {
                description: 'Copy assets into output directory',
                args: [ 'config_file' ],
            };
        }
        
        run(args, flags, vflags, callback) {
            
            const config = require(path.join(__dirname, args[0]));

            config.copyAssets()
            .then(() => { callback(null); })
            .catch(err => { callback(err); });
    
        }
    }

    return CopyAssetsCommand;

})();
{'fraction_non_alphanumeric': 0.14578163771712158, 'fraction_numerical': 0.0012406947890818859, 'mean_word_length': 1.5441640378548895, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '7284068', 'n_tokens_mistral': 439, 'n_tokens_neox': 430, 'n_words': 88}