Skip to content

Commit

Permalink
Merge pull request #51 from githubocto/ia/deno-color
Browse files Browse the repository at this point in the history
fix: turn off color output for deno
  • Loading branch information
irealva authored Jul 12, 2021
2 parents 2919de1 + 06b5f4b commit 1e23cb6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ async function run() {
core.startGroup('Postprocess');
core.debug(`Invoking ${config.postprocess} with ${filename}...`);
try {
const raw = child_process_1.execSync(`deno run -q --allow-read --allow-write --allow-run --allow-net --allow-env --unstable ${config.postprocess} ${filename}`).toString();
const raw = child_process_1.execSync(`NO_COLOR=true deno run -q --allow-read --allow-write --allow-run --allow-net --allow-env --unstable ${config.postprocess} ${filename}`).toString();
core.info("Deno output:");
core.info(raw);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async function run(): Promise<void> {
core.debug(`Invoking ${config.postprocess} with ${filename}...`)
try {
const raw = execSync(
`deno run -q --allow-read --allow-write --allow-run --allow-net --allow-env --unstable ${config.postprocess} ${filename}`
`NO_COLOR=true deno run -q --allow-read --allow-write --allow-run --allow-net --allow-env --unstable ${config.postprocess} ${filename}`
).toString()

core.info("Deno output:")
Expand Down

0 comments on commit 1e23cb6

Please sign in to comment.