Skip to content
Myr

error-message.js

This file

Path

fixtures/error-message.js

5 lines · 99 bytes · JavaScript

Last changed by

include stdout in errors for improved debuggingSindre Sorhusbefore adoptionaea8c9a

History of this file

Take it

include stdout in errors for improved debuggingSindre Sorhusbefore adoptionaea8c9a

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