Skip to content

Commit

Permalink
[eng] Removed common/scripts/npm-run-project.js (Azure#14414)
Browse files Browse the repository at this point in the history
* [eng] Removed common/scripts/npm-run-project.js

This script is broken and doesn't work on Windows. It's only used in
one place, so replace it with install-run-rushx.js

* This convention for expanding variables is weird.
  • Loading branch information
witemple-msft authored and vindicatesociety committed Apr 26, 2021
1 parent ad3ce2c commit cf0249a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 50 deletions.
49 changes: 0 additions & 49 deletions common/scripts/npm-run-project.js

This file was deleted.

3 changes: 2 additions & 1 deletion eng/pipelines/templates/jobs/archetype-sdk-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,9 @@ jobs:
- ${{ parameters.PostSteps }}

- script: |
node common/scripts/npm-run-project.js "${{parameters.PackageName}}" execute:samples
node ../../../common/scripts/install-run-rushx.js execute:samples
displayName: "Execute Samples"
workingDirectory: $(PackagePath)
env:
TEST_MODE: "live"
${{ insert }}: ${{ parameters.EnvVars }}
Expand Down

0 comments on commit cf0249a

Please sign in to comment.