Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SamCarlberg committed Sep 26, 2024
1 parent 80d4cec commit 00cc75b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions src/bindings/Project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ const makeDefaultGeneratedFiles = (): GeneratedFile[] => {
{
name: ".vscode/launch.json",
description: "",
contents: BundledLaunchJson
contents: BundledLaunchJson,
},
{
name: ".vscode/settings.json",
description: "",
contents: BundledSettingsJson
contents: BundledSettingsJson,
},
{
name: ".wpilib/wpilib_preferences.json",
description: "",
contents: BundledPreferences
contents: BundledPreferences,
},
{
name: ".gitignore",
Expand Down Expand Up @@ -76,7 +76,7 @@ const makeDefaultGeneratedFiles = (): GeneratedFile[] => {
{
name: "vendordeps/WPILibNewCommands.json",
description: "Vendordep file for the V2 command framework",
contents: BundledWpilibCommandsV2
contents: BundledWpilibCommandsV2,
},
]
}
Expand Down
2 changes: 1 addition & 1 deletion src/bundled_files/vendordeps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { unindent } from "../codegen/java/util";
import { unindent } from "../codegen/java/util"

export const BundledWpilibCommandsV2 = unindent(`
{
Expand Down
4 changes: 2 additions & 2 deletions src/bundled_files/vscode.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { unindent } from "../codegen/java/util";
import { unindent } from "../codegen/java/util"

export const BundledLaunchJson = unindent(`
{
Expand Down Expand Up @@ -54,4 +54,4 @@ export const BundledSettingsJson = unindent(`
],
"java.test.defaultConfig": "WPIlibUnitTests"
}
`).trim()
`).trim()
2 changes: 1 addition & 1 deletion src/bundled_files/wpilib_preferences.json.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { unindent } from "../codegen/java/util";
import { unindent } from "../codegen/java/util"

export const BundledPreferences = unindent(`
{
Expand Down
4 changes: 2 additions & 2 deletions src/ui/ProjectView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ const loadProject = (file: File): Promise<Project> => {
}

const exportProject = async (project: Project) => {
const zipFileWriter = new BlobWriter();
const zipWriter = new ZipWriter(zipFileWriter);
const zipFileWriter = new BlobWriter()
const zipWriter = new ZipWriter(zipFileWriter)

await Promise.all(project.generatedFiles.map(file => {
return zipWriter.add(file.name, new TextReader(file.contents))
Expand Down

0 comments on commit 00cc75b

Please sign in to comment.