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

class AssetPublisher extends Publisher {

    /**
     * Get destination path.
     *
     * @return string
     */
    public function getDestinationPath()
    {
        return $this->repository->assetPath($this->module->getLowerName());
    }

    /**
     * Get source path.
     *
     * @return string
     */
    public function getSourcePath()
    {
        return $this->getModule()->getExtraPath('Assets');
    }

}<commit_msg>Fix #145: Publishing Assets From A Custom Directory<commit_after><?php namespace Pingpong\Modules\Publishing;

class AssetPublisher extends Publisher {

    /**
     * Get destination path.
     *
     * @return string
     */
    public function getDestinationPath()
    {
        return $this->repository->assetPath($this->module->getLowerName());
    }

    /**
     * Get source path.
     *
     * @return string
     */
    public function getSourcePath()
    {
        return $this->getModule()->getExtraPath(
            $this->repository->config('paths.generator.assets')
        );
    }

}
{'fraction_non_alphanumeric': 0.12853236098450319, 'fraction_numerical': 0.0027347310847766638, 'mean_word_length': 2.327272727272727, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, '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': '670310', 'n_tokens_mistral': 319, 'n_tokens_neox': 308, 'n_words': 62}