[polish] Fix Kokoro lints
These lints are showing up a failures on the Kokoro dashboard.
Change-Id: If6bc5e2a0edc988c48c2956163d064e0c3ccd32c
Reviewed-on: https://fuchsia-review.googlesource.com/c/vscode-plugins/+/1039720
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Jacob Rutherford <jruthe@google.com>
diff --git a/src/components.ts b/src/components.ts
index f812843..6415655 100644
--- a/src/components.ts
+++ b/src/components.ts
@@ -156,6 +156,10 @@
}
}
+/**
+ * open a text document with the output of `ffx component show` for the given
+ * component moniker
+ */
export async function showComponent(ffx: Ffx, moniker: string) {
const contents = await ffx.runFfx(['component', 'show', moniker]);
const document = await vscode.workspace.openTextDocument({
diff --git a/src/test_controller.ts b/src/test_controller.ts
index fd77825..8031d5c 100644
--- a/src/test_controller.ts
+++ b/src/test_controller.ts
@@ -132,7 +132,7 @@
const relativePath = testData.relativePath;
const uri = relativePath ? vscode.Uri.joinPath(workspaceFolder.uri, relativePath) : undefined;
const testItem = controller.createTestItem(testData.name, testData.prettyName, uri);
- if (testData.os == 'fuchsia') {
+ if (testData.os === 'fuchsia') {
testItem.tags = [new vscode.TestTag('FuchsiaTest')];
}
controller.items.add(testItem);