UNPKG
gulp-execa
Version:
latest (8.0.1)
8.0.1
8.0.0
7.0.1
7.0.0
6.0.0
5.0.1
5.0.0
4.5.0
4.4.1
4.4.0
4.3.0
4.2.0
4.1.0
4.0.0
3.0.2
3.0.1
3.0.0
2.0.0
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.8.0
0.7.1
0.7.0
0.6.1
0.6.0
0.5.5
0.5.4
0.5.3
0.5.2
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.2
Gulp.js command execution for humans
www.github.com/ehmicky/gulp-execa
ehmicky/gulp-execa
gulp-execa
/
build
/
src
/
options
/
debug.js
14 lines
(9 loc)
•
222 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export
const
addDebug
=(
{opts:{debug,...opts},opts:{stdio}}
)=>{
if
(!debug){
return
{
echo
:
false
,...opts} }
if
(stdio!==
undefined
){
return
{
echo
:
true
,...opts} }
return
{
stdout
:
"inherit"
,
stderr
:
"inherit"
,
echo
:
true
,...opts} };