Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: John Murray <[email protected]>
  • Loading branch information
isc-bsaviano and gjsjohnmurray authored Feb 9, 2024
1 parent 82c5930 commit 77c3496
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/FileDecorationProvider.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as vscode from "vscode";
import { currentFile } from "../utils";
import { macLangId, clsLangId, intLangId, cspLangId } from "../extension";
import { clsLangId, cspLangId, intLangId, macLangId } from "../extension";

export class FileDecorationProvider implements vscode.FileDecorationProvider {
private _genBadge = String.fromCharCode(9965); // Gear
Expand All @@ -21,7 +21,7 @@ export class FileDecorationProvider implements vscode.FileDecorationProvider {
if (
doc != undefined &&
!doc.isUntitled &&
[macLangId, clsLangId, intLangId, cspLangId].includes(doc.languageId) &&
[clsLangId, macLangId, intLangId, cspLangId].includes(doc.languageId) &&
vscode.workspace
.getConfiguration("objectscript", vscode.workspace.getWorkspaceFolder(uri))
.get<boolean>("showGeneratedFileDecorations")
Expand Down

0 comments on commit 77c3496

Please sign in to comment.