Skip to content

Commit

Permalink
fix sms samples breaking livetest pipeline (Azure#15467)
Browse files Browse the repository at this point in the history
* fix broken samples

* remove unused env var

* formatting
  • Loading branch information
beltr0n authored May 31, 2021
1 parent f77c218 commit b32066c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion sdk/communication/communication-sms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"build:autorest": "autorest ./swagger/README.md --typescript --v3 --package-version=1.0.1 && rushx format",
"build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1",
"build:node": "tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1",
"build:samples": "echo Obsolete.",
"build:samples": "dev-tool samples publish --force",
"build:test": "tsc -p . && rollup -c rollup.test.config.js 2>&1",
"build": "tsc -p . && rollup -c 2>&1 && api-extractor run --local",
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export async function main() {

// You will need to set this environment variable or edit the following values
const endpoint =
process.env.COMMUNICATION_ENDPOINT ||
parseConnectionString(process.env.COMMUNICATION_SAMPLES_CONNECTION_STRING!).endpoint ||
"https://<resource-name>.communication.azure.com";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ async function main() {

// You will need to set this environment variable or edit the following values
const endpoint =
process.env.COMMUNICATION_ENDPOINT ||
parseConnectionString(process.env.COMMUNICATION_SAMPLES_CONNECTION_STRING).endpoint ||
"https://<resource-name>.communication.azure.com";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export async function main() {

// You will need to set this environment variable or edit the following values
const endpoint =
process.env.COMMUNICATION_ENDPOINT ||
parseConnectionString(process.env.COMMUNICATION_SAMPLES_CONNECTION_STRING!).endpoint ||
"https://<resource-name>.communication.azure.com";

Expand Down

0 comments on commit b32066c

Please sign in to comment.