Skip to content

Commit

Permalink
Use execSync
Browse files Browse the repository at this point in the history
  • Loading branch information
john-craft committed Jan 25, 2024
1 parent 7b72910 commit ee395d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ jobs:
const { MIGRATION_OUTPUT, EXIT_CODE } = process.env
if (!MIGRATION_OUTPUT) return
const exec = require('child_process').execSync;
exec('npm install ansi_up');
const { execSync } = require('child_process');
execSync('npm install ansi_up');
const ansiUp = (await import('ansi_up')).default;
const ansi_up = new ansiUp();
const html = ansi_up.ansi_to_html(MIGRATION_OUTPUT);
Expand Down

0 comments on commit ee395d2

Please sign in to comment.