Skip to content

Commit

Permalink
add missing case for dev container creation (#620)
Browse files Browse the repository at this point in the history
* Add missing case for dev container creation
* Update version number
  • Loading branch information
mhshami01 authored Dec 1, 2021
1 parent 131021a commit 4d26a79
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Change Log
## 1.25.3 - 2021-11-30
### Changed
* Added creation of CSharp Dev Container for new Solutions with a CSharp Function.

## 1.25.2 - 2021-11-30
### Changed
* Update npm package dependencies
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "azure-iot-edge",
"displayName": "Azure IoT Edge",
"description": "This extension is now a part of Azure IoT Tools extension pack. We highly recommend installing Azure IoT Tools to get full capabilities for Azure IoT development. Develop, deploy, debug, and manage your IoT Edge solution.",
"version": "1.25.2",
"version": "1.25.3",
"publisher": "vsciot-vscode",
"aiKey": "95b20d64-f54f-4de3-8ad5-165a75a6c6fe",
"icon": "logo.png",
Expand Down
5 changes: 3 additions & 2 deletions src/edge/edgeManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -974,13 +974,14 @@ export class EdgeManager {
let containerSource = "";
switch (template) {
// we get here from two different paths:
// 1- when creating a new edge solution and the first add module is called
// 2- when working with an existing solution and the use wishes to use a dev container
// 1- when creating a new edge solution and the first add module is called, or
// 2- when working with an existing solution and the user wishes to incorporate a dev container
case Constants.LANGUAGE_C:
case Constants.CONTAINER_C:
containerSource = path.join(sourceContainersPath, Constants.CONTAINER_C);
break;
case Constants.LANGUAGE_CSHARP:
case Constants.CSHARP_FUNCTION:
case Constants.CONTAINER_CSHARP:
containerSource = path.join(sourceContainersPath, Constants.CONTAINER_CSHARP);
break;
Expand Down

0 comments on commit 4d26a79

Please sign in to comment.