Skip to content

Commit 23f0dd5

Browse files
committed
remove console logs
1 parent 1f276aa commit 23f0dd5

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/diff/oasDiff.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ async function executeOasDiff(
242242
});
243243
}
244244

245-
function removeApiVersionFromDirNames(dirs: { name: string, path: string }[]) {
245+
function removeApiVersionFromDirNames(dirs: { name: string; path: string }[]) {
246246
dirs.forEach((dir) => {
247247
// Remove minor and patch versions, keep only major version
248248
// Example: 'shopper-stores-oas-1.0.16' -> 'shopper-stores-oas-1'
@@ -278,19 +278,14 @@ async function handleDirectoryMode(
278278
const newExchangeDirs = await findExchangeDirectories(newApi);
279279

280280
// TODO: hide this under a flag
281-
removeApiVersionFromDirNames(baseExchangeDirs)
282-
removeApiVersionFromDirNames(newExchangeDirs)
283-
284-
console.log('BASE EXCHANGE DIRS: ', baseExchangeDirs)
285-
console.log('NEW EXCHANGE DIRS: ', newExchangeDirs)
281+
removeApiVersionFromDirNames(baseExchangeDirs);
282+
removeApiVersionFromDirNames(newExchangeDirs);
286283

287284
const allDirNames = new Set([
288285
...baseExchangeDirs.map((dir) => dir.name),
289286
...newExchangeDirs.map((dir) => dir.name),
290287
]);
291288

292-
console.log('ALL DIR NAMES: ', allDirNames)
293-
294289
for (const dirName of allDirNames) {
295290
const baseDir = baseExchangeDirs.find((dir) => dir.name === dirName);
296291
const newDir = newExchangeDirs.find((dir) => dir.name === dirName);

src/download/exchangeDownloader.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,6 @@ function getLatestReleaseVersion(versionGroup: {
435435
return releaseSemverRegex.test(version.version);
436436
});
437437

438-
console.log('RELEASE ASSET VERSIONS: ', releaseAssetVersions)
439438
// Sort versions and get the latest
440439
return releaseAssetVersions.sort((instanceA, instanceB) => {
441440
const [aMajor, aMinor, aPatch] = instanceA.version.split(".").map(Number);

0 commit comments

Comments
 (0)