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
- Host: GitHub
- URL: https://github.com/chrisdothtml/rush-1247
- Owner: chrisdothtml
- Created: 2019-04-24T20:45:07.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-25T03:23:01.000Z (about 7 years ago)
- Last Synced: 2025-01-28T22:44:42.892Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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