Skip to content

Commit 162caa9

Browse files
authored
Update functions-reference-powershell.md
Add note about .giitignore excluding some directories that might be part of the modules added.
1 parent 458665b commit 162caa9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

articles/azure-functions/functions-reference-powershell.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,14 @@ PSFunctionApp
539539
540540
When you start your function app, the PowerShell language worker adds this `Modules` folder to the `$env:PSModulePath` so that you can rely on module autoloading just as you would in a regular PowerShell script.
541541
542+
> [!NOTE]
543+
> If your function app is under source control, you should confirm that all the content in the Modules folder that you add is not excluded by .gitignore. For example, if one of your modules has a bin folder that is getting excluded, you would want to modify the .gitignore by replacing ```bin``` with
544+
> ```
545+
> **/bin/**
546+
> !Modules/**
547+
> ```
548+
>
549+
542550
### Troubleshooting Managed Dependencies
543551
544552
#### Enabling Managed Dependencies

0 commit comments

Comments
 (0)