generator-code 1.10.0 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,7 +17,7 @@ function activate(context) {
17
17
  // The command has been defined in the package.json file
18
18
  // Now provide the implementation of the command with registerCommand
19
19
  // The commandId parameter must match the command field in package.json
20
- let disposable = vscode.commands.registerCommand('<%= name %>.helloWorld', function () {
20
+ const disposable = vscode.commands.registerCommand('<%= name %>.helloWorld', function () {
21
21
  // The code you place here will be executed every time your command is executed
22
22
 
23
23
  // Display a message box to the user
@@ -13,7 +13,7 @@ export function activate(context: vscode.ExtensionContext) {
13
13
  // The command has been defined in the package.json file
14
14
  // Now provide the implementation of the command with registerCommand
15
15
  // The commandId parameter must match the command field in package.json
16
- let disposable = vscode.commands.registerCommand('<%= name %>.helloWorld', () => {
16
+ const disposable = vscode.commands.registerCommand('<%= name %>.helloWorld', () => {
17
17
  // The code you place here will be executed every time your command is executed
18
18
  // Display a message box to the user
19
19
  vscode.window.showInformationMessage('Hello World from <%= displayName %>!');
@@ -15,9 +15,6 @@
15
15
  "group": {
16
16
  "kind": "build",
17
17
  "isDefault": true
18
- },
19
- "runOptions": {
20
- "runOn": "folderOpen"
21
18
  }
22
19
  },
23
20
  {
@@ -13,7 +13,7 @@ export function activate(context: vscode.ExtensionContext) {
13
13
  // The command has been defined in the package.json file
14
14
  // Now provide the implementation of the command with registerCommand
15
15
  // The commandId parameter must match the command field in package.json
16
- let disposable = vscode.commands.registerCommand('<%= name %>.helloWorld', () => {
16
+ const disposable = vscode.commands.registerCommand('<%= name %>.helloWorld', () => {
17
17
  // The code you place here will be executed every time your command is executed
18
18
 
19
19
  // Display a message box to the user
@@ -15,9 +15,6 @@
15
15
  "group": {
16
16
  "kind": "build",
17
17
  "isDefault": true
18
- },
19
- "runOptions": {
20
- "runOn": "folderOpen"
21
18
  }
22
19
  },
23
20
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-code",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Yeoman generator for Visual Studio Code extensions.",
5
5
  "keywords": [
6
6
  "yeoman-generator",