Skip to content

Commit

Permalink
Simplify log output
Browse files Browse the repository at this point in the history
  • Loading branch information
aw committed Dec 3, 2019
1 parent fc736bf commit 288c4b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,8 @@ init = async function() {
await exec.exec('sudo', ['ln', '-s', '/usr/lib/picolisp/bin/pil', '/usr/bin']);
await exec.exec('sudo', ['ln', '-s', '/tmp/picoLisp', '/usr/share/picolisp']);
// Display the compiled version
await exec.exec('pil', ["\"-prin '\\\"Built PicoLisp \\\" '${pilArchitecture} '\\\" ver: \\\"\"", '-version', '-bye']);
console.log("Built PicoLisp ver:");
await exec.exec('pil', ['-version', '-bye']);
} catch (error1) {
error = error1;
return core.setFailed(error.message);
Expand Down
3 changes: 2 additions & 1 deletion index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ init = () ->
await exec.exec('sudo', ['ln', '-s', '/tmp/picoLisp', '/usr/share/picolisp'])

# Display the compiled version
await exec.exec('pil', ["\"-prin '\\\"Built PicoLisp \\\" '${pilArchitecture} '\\\" ver: \\\"\"", '-version', '-bye'])
console.log "Built PicoLisp ver:"
await exec.exec('pil', ['-version', '-bye'])

await return

Expand Down

0 comments on commit 288c4b9

Please sign in to comment.