Skip to content

Print cwd in verbose output #102

@bytestream

Description

@bytestream

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions