Skip to content

Commit

Permalink
chore(temp): see if colors are supported in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Sep 13, 2023
1 parent 3d493b7 commit f6939c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/prepareOas.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { OpenAPI } from 'openapi-types';

import chalk from 'chalk';
import chalk, { supportsColor } from 'chalk';
import OASNormalize, { getAPIDefinitionType } from 'oas-normalize';
import ora from 'ora';

Expand Down Expand Up @@ -151,6 +151,8 @@ export default async function prepareOas(
}
}

console.log('supportsColor:', supportsColor);

const spinner = ora({ text: `Validating the API definition located at ${specPath}...`, ...oraOptions() }).start();

debug(`about to normalize spec located at ${specPath}`);
Expand Down

0 comments on commit f6939c5

Please sign in to comment.