-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove testing readme, update uninstall and refactor env vars in inst…
…all script
- Loading branch information
1 parent
f5e1b0c
commit b69583c
Showing
3 changed files
with
16 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
:: Copyright 2024 New Relic Corporation. All rights reserved. | ||
:: SPDX-License-Identifier: Apache-2.0 | ||
|
||
SET NEW_RELIC_FOLDER="%HOME%\node_modules/newrelic" | ||
SET NEW_RELIC_FOLDER="%HOME%\site\wwwroot\node_modules\newrelic" | ||
IF EXIST %NEW_RELIC_FOLDER% ( | ||
npm uninstall newrelic | ||
echo Uninstalling newrelic... | ||
cd "%HOME%\site\wwwroot" | ||
call npm uninstall newrelic --save | ||
rmdir /s /q "%HOME%\site\wwwroot\node_modules\@newrelic" | ||
IF %ERRORLEVEL% NEQ 0 ( | ||
echo Failed to uninstall newrelic | ||
exit /b 1 | ||
) ELSE ( | ||
echo Successfully uninstalled newrelic | ||
) | ||
) ELSE ( | ||
echo newrelic package not found in node_modules | ||
) |
This file was deleted.
Oops, something went wrong.