Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print cwd in verbose output #102

Open
bytestream opened this issue May 22, 2020 · 0 comments
Open

Print cwd in verbose output #102

bytestream opened this issue May 22, 2020 · 0 comments

Comments

@bytestream
Copy link

The below changes cwd depending on gulp.src path. In the output it's not clear which path the command ran on.

    return gulp.src([
            'composer.json',
            'app/Requirements/composer.json',
            'app/Plugins/*/composer.json',
            'app/Widgets/*/composer.json',
        ], {read: false})
       .pipe(shell([
            'composer install -o '
        ], { cwd: '<%= dirname(file.path) %>', templateData: { dirname: path.dirname }, verbose: true }))

I think it would just be a simple case of updating https://github.com/sun-zheng-an/gulp-shell/blob/master/index.ts#L69 to include the cwd line lower down

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant