Skip to content

Commit

Permalink
Fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrunyon committed Jul 14, 2024
1 parent 7237181 commit fbe914e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
- name: "Publish"
run: npm publish --provenance --access public crates/ruff_wasm/pkg
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion crates/ruff_wasm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ const workspace = new Workspace({
const diagnostics: Diagnostic[] = workspace.check(exampleDocument);

const formatted = workspace.format(exampleDocument);
```
```
2 changes: 1 addition & 1 deletion crates/ruff_wasm/tests/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

use wasm_bindgen_test::wasm_bindgen_test;

use ruff_api::{ExpandedMessage, Workspace};
use ruff_linter::registry::Rule;
use ruff_source_file::{OneIndexed, SourceLocation};
use ruff_api::{ExpandedMessage, Workspace};

macro_rules! check {
($source:expr, $config:expr, $expected:expr) => {{
Expand Down

0 comments on commit fbe914e

Please sign in to comment.