<commit_before><?php namespace Pingpong\Modules\Commands;

use Illuminate\Console\Command;
use Illuminate\Support\Str;
use Symfony\Component\Console\Input\InputArgument;

class PublishConfigCommand extends Command {

    /**
     * The console command name.
     *
     * @var string
     */
    protected $name = 'module:publish-config';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Publish modules\'s configuration file to the config path.';

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function fire()
    {

        if( ! file_exists($destinationPath = base_path() . '/config/modules.php'))
        {
            $path = realpath(__DIR__ . '/../../../sec/config/config.php'); 

            $this->app['files']->copy($path, $destinationPath);

            $this->info("Config file published successfully.");
        }
        else
        {
            $this->error("File : {$destinationPath} already exist!");
        }
    }

}<commit_msg>Fix module:publish-config command<commit_after><?php namespace Pingpong\Modules\Commands;

use Illuminate\Console\Command;
use Illuminate\Support\Str;
use Symfony\Component\Console\Input\InputArgument;

class PublishConfigCommand extends Command {

    /**
     * The console command name.
     *
     * @var string
     */
    protected $name = 'module:publish-config';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Publish modules\'s configuration file to the config path.';

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function fire()
    {
        if( ! file_exists($destinationPath = base_path() . '/config/modules.php'))
        {
            $path = realpath(__DIR__ . '/../../../../src/config/config.php'); 

            $this->laravel['files']->copy($path, $destinationPath);

            $this->info("Config file published successfully.");
        }
        else
        {
            $this->error("File : {$destinationPath} already exist!");
        }
    }

}
{'fraction_non_alphanumeric': 0.1394589552238806, 'fraction_numerical': 0.0, 'mean_word_length': 2.1451612903225805, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '6956603', 'n_tokens_mistral': 589, 'n_tokens_neox': 590, 'n_words': 132}