Skip to content
Myr

error-message.js

This file

Path

fixtures/error-message.js

5 lines · 99 bytes · JavaScript

Last changed by

Use spawn instead of execFile (#27)James Talmagebefore adoption31a8d87

History of this file

Take it

include stdout in errors for improved debuggingSindre Sorhusbefore adoptionaea8c9a

lines 1–4why, one step back
1#!/usr/bin/env node
2'use strict';3console.log('stdout');4console.error('stderr');

Use spawn instead of execFile (#27)James Talmagebefore adoption31a8d87

line 5why, one step back
5process.exit(2);