Skip to content

Commit

Permalink
fix(js-api): pass correct information (#4152)
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored Oct 1, 2024
1 parent 0b6339e commit 2670095
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@biomejs/js-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/js-api",
"version": "0.7.0",
"version": "0.7.1",
"description": "JavaScript APIs for the Biome package",
"scripts": {
"tsc": "tsc --noEmit",
Expand Down
5 changes: 4 additions & 1 deletion packages/@biomejs/js-api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export class Biome {
const biomePath: BiomePath = {
path,
was_written: false,
kind: "Handleable",
kind: ["Handleable"],
};

this.workspace.openFile({
Expand Down Expand Up @@ -260,6 +260,9 @@ export class Biome {
path,
fix_file_mode: fixFileMode,
should_format: false,
only: [],
skip: [],
rule_categories: ["Syntax", "Lint"],
});

code = result.code;
Expand Down

0 comments on commit 2670095

Please sign in to comment.