Skip to content

Commit 3e38e1f

Browse files
Merge pull request #267282 from ggailey777/patch-2
[Functions] rendering bug in JavaScript QS
2 parents 23a4ea4 + a98d37e commit 3e38e1f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

articles/azure-functions/create-first-function-cli-node.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Create a JavaScript function from the command line - Azure Functions
33
description: Learn how to create a JavaScript function from the command line, then publish the local Node.js project to serverless hosting in Azure Functions.
4-
ms.date: 12/15/2023
4+
ms.date: 02/26/2024
55
ms.topic: quickstart
66
ms.devlang: javascript
77
ms.custom: devx-track-azurecli, devx-track-azurepowershell, mode-api, devx-track-js
@@ -50,19 +50,20 @@ In Azure Functions, a function project is a container for one or more individual
5050

5151
::: zone pivot="nodejs-model-v3"
5252
1. In a suitable folder, run the [`func init`](functions-core-tools-reference.md#func-init) command, as follows, to create a JavaScript Node.js v3 project in the current folder:
53-
53+
5454
```console
5555
func init --javascript --model V3
5656
```
57+
5758
This folder now contains various files for the project, including configurations files named [local.settings.json](functions-develop-local.md#local-settings-file) and [host.json](functions-host-json.md). Because *local.settings.json* can contain secrets downloaded from Azure, the file is excluded from source control by default in the *.gitignore* file.
5859

5960
1. Add a function to your project by using the following command, where the `--name` argument is the unique name of your function (HttpExample) and the `--template` argument specifies the function's trigger (HTTP).
60-
61+
6162
```console
6263
func new --name HttpExample --template "HTTP trigger" --authlevel "anonymous"
6364
```
64-
65-
[`func new`](functions-core-tools-reference.md#func-new) creates a subfolder matching the function name that contains a code file appropriate to the project's chosen language and a configuration file named *function.json*.
65+
66+
The [`func new`](functions-core-tools-reference.md#func-new) command creates a subfolder matching the function name that contains a code file appropriate to the project's chosen language and a configuration file named *function.json*.
6667

6768
You may find the [Azure Functions Core Tools reference](functions-core-tools-reference.md) helpful.
6869

0 commit comments

Comments
 (0)