Resource Type in Node - stdErr


#1

Hi all,

I recently built my first Resource-Type from scratch using node.

I followed the instructions but I noticed that when using node; no exit status codes were picked up. When I tested locally the exit code was observed whether I used ‘process.exit(1)’, `process.stderr.write(‘something went wrong’) or throwing an error. I tested while doing an interactive SSH session in docker and it caught the errors as well.

However once placed it inside of Concourse the resource would never go red no matter which 3 I tried.

Is this a node issue or am I missing something?

Repo here