Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
runStep({ title: 'Gathering repository information.' }, () => {
const appName = getAppName(dir);
const latestCommitHash = getLatestCommitHash(dir);
const latestCommitUrl = getCommitUrl(remote, latestCommitHash, dir);
const { url: repoURL } = getRepoInfo(remote, dir);
const releaseTag = getReleaseTag(version);
return {
appName,
version,
latestCommitHash,
latestCommitUrl,
repoURL,
releaseTag,
};
});