Skip to content
Myr

nested-pipe-script.js

This file

Path

test/fixtures/nested-pipe-script.js

15 lines · 373 bytes · JavaScript

Last changed by

Refactor test helpers for the `verbose` option (#1128)ehmickybefore adoption18d320f

History of this file

Take it

The walk stopped after 200 commits: lines older than bd3b478 point at it.

Refactor logic and rename some variables (#983)ehmickybefore adoptionbd3b478

line 1why, one step back
1#!/usr/bin/env node

Refactor test helpers for the `verbose` option (#1128)ehmickybefore adoption18d320f

line 2why, one step back
2import {$, getOneMessage} from '../../index.js';

Refactor logic and rename some variables (#983)ehmickybefore adoptionbd3b478

line 3why, one step back
3

Refactor test helpers for the `verbose` option (#1128)ehmickybefore adoption18d320f

lines 4–15why, one step back
4const {
5 file,6 commandArguments = [],7 options: {8 sourceOptions = {},9 destinationFile,10 destinationArguments = [],11 destinationOptions = {},12 },13} = await getOneMessage();14await $(sourceOptions)`${file} ${commandArguments}`15 .pipe(destinationOptions)`${destinationFile} ${destinationArguments}`;