Classes/Cundd/Noshi/Configuration.php
private function prepareConfigurationArray(array $configuration)
    {
        $pathConfiguration = [
            'dataPath',
            'templatePath',
            'resourcePath',
        ];
        foreach ($pathConfiguration as $key) {
            if (isset($configuration[$key])) {
                $configuration[$key] = rtrim($configuration[$key], '/') . '/';
            }
        }

        return $configuration;
    }
private function prepareConfigurationArray(array $configuration)
    {
        $pathConfiguration = [
            'dataPath',
            'templatePath',
            'resourcePath',
        ];
        foreach ($pathConfiguration as $key) {
            if (isset($configuration[$key])) {
                $configuration[$key] = rtrim($configuration[$key], '/') . '/';
            }
        }

        return $configuration;
    }
Prepare the configuration values

Append a slash at the end of directory configurations

@param array $configuration
@return array