function retrieveRepositoryPath(providedPath) {
    let githubWorkspacePath = process.env['GITHUB_WORKSPACE'];
    if (!githubWorkspacePath) {
        throw new Error('GITHUB_WORKSPACE not defined');
    }
    githubWorkspacePath = path.resolve(githubWorkspacePath);
    core.debug(`GITHUB_WORKSPACE = '${githubWorkspacePath}'`);
    let repositoryPath = providedPath || '.';
    repositoryPath = path.resolve(githubWorkspacePath, repositoryPath);
    core.debug(`repositoryPath = '${repositoryPath}'`);
    return repositoryPath;
}
/**
 * Resolves the repository path, relatively to the GITHUB_WORKSPACE
 */
Resolves the repository path, relatively to the GITHUB_WORKSPACE
Resolves the repository path relatively to the GITHUB_WORKSPACE
function retrieveRepositoryPath(providedPath) {
    let githubWorkspacePath = process.env['GITHUB_WORKSPACE'];
    if (!githubWorkspacePath) {
        throw new Error('GITHUB_WORKSPACE not defined');
    }
    githubWorkspacePath = path.resolve(githubWorkspacePath);
    core.debug(`GITHUB_WORKSPACE = '${githubWorkspacePath}'`);
    let repositoryPath = providedPath || '.';
    repositoryPath = path.resolve(githubWorkspacePath, repositoryPath);
    core.debug(`repositoryPath = '${repositoryPath}'`);
    return repositoryPath;
}
function retrieveRepositoryPath ( providedPath ) { let githubWorkspacePath = process . env [ 'GITHUB_WORKSPACE' ] ; if ( ! githubWorkspacePath ) { throw new Error ( 'GITHUB_WORKSPACE not defined' ) ; } githubWorkspacePath = path . resolve ( githubWorkspacePath ) ; core . debug ( ` ${ githubWorkspacePath } ` ) ; let repositoryPath = providedPath || '.' ; repositoryPath = path . resolve ( githubWorkspacePath , repositoryPath ) ; core . debug ( ` ${ repositoryPath } ` ) ; return repositoryPath ; }
Resolves the repository path, relatively to the GITHUB_WORKSPACE
Resolves the repository path relatively to the GITHUB_WORKSPACE