Skip to content

Commit 683466f

Browse files
committed
Update extension ID to use username rather than email address.
1 parent e478873 commit 683466f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Easily switch between PHP coding standards in VS Code. Integrates with PHP_CodeS
2222

2323
1. Open VS Code
2424
2. Press `Cmd+P` to open the Quick Open dialog
25-
3. Type `ext install tom@tommcfarlin.com.code-standard-selector`
25+
3. Type `ext install tommcfarlin.code-standard-selector`
2626
4. Press Enter
2727

2828
## Usage

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Code Standard Selector",
44
"description": "Easily swap coding standards for PHP projects.",
55
"version": "1.0.0",
6-
"publisher": "tom@tommcfarlin.com",
6+
"publisher": "tommcfarlin",
77
"engines": {
88
"vscode": "^1.75.0"
99
},

test/suite/extension.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ suite('Extension Test Suite', () => {
66

77
suiteSetup(async () => {
88
// Get the extension
9-
const extension = vscode.extensions.getExtension('tom@tommcfarlin.com.code-standard-selector');
9+
const extension = vscode.extensions.getExtension('tommcfarlin.code-standard-selector');
1010

1111
// Activate the extension and store the exports
1212
extensionContext = await extension.activate();
@@ -23,12 +23,12 @@ suite('Extension Test Suite', () => {
2323
});
2424

2525
test('Extension should be present', () => {
26-
const extension = vscode.extensions.getExtension('tom@tommcfarlin.com.code-standard-selector');
26+
const extension = vscode.extensions.getExtension('tommcfarlin.code-standard-selector');
2727
assert.ok(extension);
2828
});
2929

3030
test('Should check dependencies', async () => {
31-
const extension = vscode.extensions.getExtension('tom@tommcfarlin.com.code-standard-selector');
31+
const extension = vscode.extensions.getExtension('tommcfarlin.code-standard-selector');
3232
assert.ok(extension.isActive);
3333
});
3434

@@ -56,7 +56,7 @@ suite('Extension Test Suite', () => {
5656
});
5757

5858
test('Should detect installed standards', async () => {
59-
const extension = vscode.extensions.getExtension('tom@tommcfarlin.com.code-standard-selector');
59+
const extension = vscode.extensions.getExtension('tommcfarlin.code-standard-selector');
6060
const { getInstalledStandards } = extension.exports;
6161
const standards = await getInstalledStandards();
6262
assert.ok(Array.isArray(standards));

0 commit comments

Comments
 (0)