Skip to content

Commit 3f7f60a

Browse files
committed
Fix src
1 parent 99c00dd commit 3f7f60a

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

articles/service-bus-messaging/includes/service-bus-typescript-how-to-configure-project.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ ms.custom: "include file"
3636
1. Create a `tsconfig.json` in the project file to configure the TypeScript ESM build and copy the following into the file:
3737

3838
:::code language="json" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/tsconfig.json":::
39+
40+
1. Create a `src` folder in the project. This is where you will place the TypeScript files created in this quickstart.

articles/service-bus-messaging/service-bus-typescript-how-to-use-queues.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The following sample code shows you how to send a message to a queue.
9898
You must have signed in with the Azure CLI's `az login` in order for your local machine to provide the passwordless authentication required in this code.
9999
100100
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/).
101-
1. Create a file called `send.js` and paste the below code into it. This code sends the names of scientists as messages to your queue.
101+
1. In the `src` folder, create a file called `send.js` and paste the below code into it. This code sends the names of scientists as messages to your queue.
102102
103103
> [!IMPORTANT]
104104
> The passwordless credential is provided with the [**DefaultAzureCredential**](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential).
@@ -122,7 +122,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
122122
### [Connection string](#tab/connection-string)
123123
124124
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/).
125-
1. Create a file called `send.js` and paste the below code into it. This code sends the names of scientists as messages to your queue.
125+
1. In the `src` folder, create a file called `src/send.js` and paste the below code into it. This code sends the names of scientists as messages to your queue.
126126
127127
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/connection-strings/queues/send-queue.ts" :::
128128
@@ -149,7 +149,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
149149
You must have signed in with the Azure CLI's `az login` in order for your local machine to provide the passwordless authentication required in this code.
150150

151151
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
152-
2. Create a file called `receive.js` and paste the following code into it.
152+
2. In the `src` folder, create a file called `receive.js` and paste the following code into it.
153153

154154
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/passwordless/queues/receive-queue.ts" :::
155155

@@ -165,7 +165,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
165165
### [Connection string](#tab/connection-string)
166166

167167
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
168-
2. Create a file called `receive.js` and paste the following code into it.
168+
2. In the `src` folder, create a file called `receive.js` and paste the following code into it.
169169

170170
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/connection-strings/queues/receive-queue.ts" :::
171171

articles/service-bus-messaging/service-bus-typescript-how-to-use-topics-subscriptions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ The following sample code shows you how to send a batch of messages to a Service
100100
You must have signed in with the Azure CLI's `az login` in order for your local machine to provide the passwordless authentication required in this code.
101101
102102
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
103-
2. Create a file called `sendtotopic.js` and paste the below code into it. This code will send a message to your topic.
103+
2. In the `src` folder, create a file called `sendtotopic.js` and paste the below code into it. This code will send a message to your topic.
104104
105105
> [!IMPORTANT]
106106
> The passwordless credential is provided with the [**DefaultAzureCredential**](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential).
@@ -124,7 +124,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
124124
### [Connection string](#tab/connection-string)
125125
126126
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
127-
2. Create a file called `sendtotopic.js` and paste the below code into it. This code will send a message to your topic.
127+
2. In the `src` folder, create a file called `sendtotopic.js` and paste the below code into it. This code will send a message to your topic.
128128
129129
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/connection-strings/topics/send-topic.ts" :::
130130
@@ -151,7 +151,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
151151
You must have signed in with the Azure CLI's `az login` in order for your local machine to provide the passwordless authentication required in this code.
152152

153153
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
154-
2. Create a file called **receivefromsubscription.js** and paste the following code into it. See code comments for details.
154+
2. In the `src` folder, create a file called `receivefromsubscription.js` and paste the following code into it. See code comments for details.
155155

156156
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/passwordless/topics/receive-topic.ts" :::
157157

@@ -168,7 +168,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
168168
### [Connection string](#tab/connection-string)
169169

170170
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
171-
2. Create a file called **receivefromsubscription.js** and paste the following code into it. See code comments for details.
171+
2. In the `src` folder, create a file called `receivefromsubscription.js` and paste the following code into it. See code comments for details.
172172

173173
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/connection-strings/topics/receive-topic.ts" :::
174174

0 commit comments

Comments
 (0)