File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import { ApiCollectionChanges } from "./changes/apiCollectionChanges";
1313import { diffRamlDirectories } from "./diffDirectories" ;
1414import { oasDiffChangelog } from "./oasDiff" ;
1515import { allCommonFlags } from "../common/flags" ;
16- import { execSync } from "child_process" ;
1716import fs from "fs-extra" ;
1817
1918export 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 (
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ function mapCategories(categories: RawCategories[]): Categories {
128128function 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 ;
You can’t perform that action at this time.
0 commit comments