Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Add autoUpdateIndexFiles option in settings #178

Merged
merged 5 commits into from
Mar 22, 2017
Merged

Conversation

testforstephen
Copy link
Contributor

@msftclas
Copy link

@testforstephen,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

}
const installedPlatforms = this._arduinoApp.boardManager.getInstalledPlatforms();
for (let board of installedPlatforms) {
const libs = await this.parseBoardLibraries(board.rootBoardPath, board.architecture, librarySet);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we should use "let" instead of "const"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't see any bad effect for "const" in iterator loop. maybe revisit "let" and "const" later.

package.json Outdated
"arduino.autoUpdateIndexFiles": {
"type": "boolean",
"default": false,
"description": "This option used to control whether to auto-update package_index.json or library_index.json index files or not. If true, means that each time when you open Boards Manager/Library Manager, the extension will download latest index files first. If false, means that if index files exist on local disk, then don't download again."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need rephrase the description....

@testforstephen testforstephen merged commit 244936c into master Mar 22, 2017
@testforstephen testforstephen deleted the jinbo_dev branch March 22, 2017 08:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants