stdin-fd-both.js
This file
Path
test/fixtures/stdin-fd-both.js
7 lines · 229 bytes · JavaScript
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than 9f65b86 point at it.
100% test coverage (#1018)ehmickybefore adoption9f65b86
lines 1–7why, one step back1#!/usr/bin/env node2import process from 'node:process';3import {getReadStream} from '../helpers/fs.js';45const fdNumber = Number(process.argv[2]);6process.stdin.pipe(process.stdout);7getReadStream(fdNumber).pipe(process.stdout);