Skip to content

Commit 4c5db43

Browse files
committed
Address comments
1 parent 8224c18 commit 4c5db43

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/diff/diffCommand.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { ApiCollectionChanges } from "./changes/apiCollectionChanges";
1313
import { diffRamlDirectories } from "./diffDirectories";
1414
import { oasDiffChangelog } from "./oasDiff";
1515
import { allCommonFlags } from "../common/flags";
16-
import { execSync } from "child_process";
1716
import fs from "fs-extra";
1817

1918
export class DiffCommand extends Command {
@@ -206,8 +205,8 @@ Exit statuses:
206205
*
207206
* Otherwise, returns the exit code of oasDiff.oasDiffChangelog
208207
*
209-
* @param baseApis - Path to a base OAS file
210-
* @param newApis - Path to a new OAS file
208+
* @param baseApis - Path to a base OAS file or directory containing OAS files
209+
* @param newApis - Path to a new OAS file or directory containing OAS files
211210
* @param flags - Parsed CLI flags passed to the command
212211
*/
213212
protected async _diffOasFiles(

src/download/exchangeDownloader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function mapCategories(categories: RawCategories[]): Categories {
128128
function getFileByClassifier(files: FileInfo[], classifier: string): FileInfo {
129129
const found = files.find((file) => file.classifier === classifier);
130130

131-
// Not all API files in anypoint exchange have an associated fat-as classifier. so
131+
// Not all API files in anypoint exchange have an associated fat-raml or fat-oas classifier. so
132132
// we return null here for those cases
133133
if (!found) {
134134
return null;

0 commit comments

Comments
 (0)