An open API service indexing awesome lists of open source software.

https://github.com/chrisdothtml/rush-1247

Repro repo for Microsoft/web-build-tools#1247
https://github.com/chrisdothtml/rush-1247

Last synced: 8 months ago
JSON representation

Repro repo for Microsoft/web-build-tools#1247

Awesome Lists containing this project

README

          

# [Microsoft/web-build-tools#1247](https://github.com/Microsoft/web-build-tools/issues/1247)

## Areas to note

[command-line.json:93-98](common/config/rush/command-line.json#L93)

[lint.js](common/scripts/lint.js)

## Reproduce

### 1. Run script from root

```sh
rush lint
```

Notice the script outputs `The cwd is: [...]/rush-1247`

### 2. Run script from an individual package

```sh
cd packages/foo
rush lint
```

Notice the script has the same cwd as when it was invoked from the root. Because of this, the script has no way of identifying where it was invoked from