function resolveConfiguration(githubWorkspacePath, configurationFile) {
    let configuration = configuration_1.DefaultConfiguration;
    if (configurationFile) {
        const configurationPath = path.resolve(githubWorkspacePath, configurationFile);
        core.debug(`configurationPath = '${configurationPath}'`);
        const providedConfiguration = readConfiguration(configurationPath);
        if (providedConfiguration) {
            configuration = providedConfiguration;
        }
    }
    return configuration;
}
/**
 * Retrieves the configuration given the file path, if not found it will fallback to the `DefaultConfiguration`
 */
Retrieves the configuration given the file path, if not found it will fallback to the `DefaultConfiguration`
Retrieves the configuration given the file path if not found it will fallback to the ` DefaultConfiguration `
function resolveConfiguration(githubWorkspacePath, configurationFile) {
    let configuration = configuration_1.DefaultConfiguration;
    if (configurationFile) {
        const configurationPath = path.resolve(githubWorkspacePath, configurationFile);
        core.debug(`configurationPath = '${configurationPath}'`);
        const providedConfiguration = readConfiguration(configurationPath);
        if (providedConfiguration) {
            configuration = providedConfiguration;
        }
    }
    return configuration;
}
function resolveConfiguration ( githubWorkspacePath , configurationFile ) { let configuration = configuration_1 . DefaultConfiguration ; if ( configurationFile ) { const configurationPath = path . resolve ( githubWorkspacePath , configurationFile ) ; core . debug ( ` ${ configurationPath } ` ) ; const providedConfiguration = readConfiguration ( configurationPath ) ; if ( providedConfiguration ) { configuration = providedConfiguration ; } } return configuration ; }
Retrieves the configuration given the file path, if not found it will fallback to the `DefaultConfiguration`
Retrieves the configuration given the file path if not found it will fallback to the ` DefaultConfiguration `