Skip to content

run doesn't run things properly #911

@withinboredom

Description

@withinboredom

Do you want to request a feature or report a bug?
bug

What is the current behavior?

yarn run build
$ "./go.sh build"
sh: ./go.sh build: No such file or directory
error Command failed with exit code 127.
info Visit http://yarnpkg.com/en/docs/cli/run for documentation about this command.

If the current behavior is a bug, please provide the steps to reproduce.
Create a package.json with the following:

{
  "scripts": {
    "build" : "./go.sh build"
}

and a file called go.sh in the same directory:

echo "hello world"
echo "You typed: $@"

What is the expected behavior?
Output to be similar to:

hello world
you typed: build

Please mention your node.js, yarn and operating system version.
yarn: 0.15.1

This works fine in 0.15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions