On Windows Cloud Shell commands require Node 6 or later (fixes #20)

This commit is contained in:
Christof Marti 2018-01-15 16:53:02 +01:00
Родитель 6c5184ab3e
Коммит f385749f82
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -10,9 +10,9 @@ The Azure Account extension provides a single Azure sign-in and subscription fil
| `Azure: Sign Out` | Sign out of your Azure subscription.
| `Azure: Select Subscription` | Pick the set of subscriptions you want to work with. Extensions should respect this list and only show resources within the filtered subscriptions.
| `Azure: Create an Account` | If you don't have an Azure Account, you can [sign up](https://azure.microsoft.com/en-us/free/?utm_source=campaign&utm_campaign=vscode-azure-account&mktingSource=vscode-azure-account) for one today and receive $200 in free credits.
| `Azure: Open Bash in Cloud Shell` | Open a new terminal running Bash in Cloud Shell.
| `Azure: Open PowerShell in Cloud Shell` | Open a new terminal running PowerShell in Cloud Shell.
| `Azure: Open Bash in Cloud Shell`<sup>1</sup> | Open a new terminal running Bash in Cloud Shell.
| `Azure: Open PowerShell in Cloud Shell`<sup>1</sup> | Open a new terminal running PowerShell in Cloud Shell.
<sup>1</sup> On Windows: Requires Node.js 6 or later to be installed (https://nodejs.org).
## Contributing

Просмотреть файл

@ -222,7 +222,7 @@ async function requiresNode(reporter: TelemetryReporter) {
reporter.sendTelemetryEvent('openCloudConsole', { outcome: 'requiresNode' });
const open: MessageItem = { title: localize('azure-account.open', "Open") };
const close: MessageItem = { title: localize('azure-account.close', "Close"), isCloseAffordance: true };
const message = localize('azure-account.requiresNode', "Opening a Cloud Shell currently requires Node.js 6 or later being installed (https://nodejs.org).");
const message = localize('azure-account.requiresNode', "Opening a Cloud Shell currently requires Node.js 6 or later to be installed (https://nodejs.org).");
const response = await window.showInformationMessage(message, open, close);
if (response === open) {
reporter.sendTelemetryEvent('openCloudConsole', { outcome: 'requiresNodeOpen' });