Skip to content

Commit 7d5cde8

Browse files
committedOct 2, 2019
Prune non-prod modules
1 parent 73753f1 commit 7d5cde8

File tree

11,337 files changed

+11
-1104515
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

11,337 files changed

+11
-1104515
lines changed
 

‎index.js ‎action.js

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ function run() {
1010
child.stdout.on('data', function(data) {
1111
console.log(data.toString());
1212
});
13+
14+
child.on('close', (code) => {
15+
console.log(`child process exited with code ${code}`);
16+
process.exit(code);
17+
});
1318
}
1419
catch (error) {
1520
core.setFailed(error.message);

‎action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ name: 'Debugger'
22
description: 'Interactive debugger for GitHub Action with tmate.io'
33
runs:
44
using: 'node12'
5-
main: 'index.js'
5+
main: 'action.js'

0 commit comments

Comments
 (0)
Please sign in to comment.