Skip to content

Commit

Permalink
fix: patch
Browse files Browse the repository at this point in the history
  • Loading branch information
magic-akari committed Nov 10, 2023
1 parent 656f942 commit 7a48400
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions crates/ruff_fmt/patch/ruff_fmt.patch
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
diff --git a/crates/ruff_fmt/pkg/ruff_fmt.js b/crates/ruff_fmt/pkg/ruff_fmt.js
index abaccc1..724a315 100644
index 5e0cf08..b13366f 100644
--- a/crates/ruff_fmt/pkg/ruff_fmt.js
+++ b/crates/ruff_fmt/pkg/ruff_fmt.js
@@ -199,7 +199,7 @@ function debugString(val) {
}
/**
* @param {string} input
-* @param {Config | undefined} config
+* @param {Config | undefined} [config]
* @returns {string}
*/
export function format(input, config) {
@@ -504,8 +504,17 @@ async function __wbg_init(input) {
@@ -431,8 +431,17 @@ async function __wbg_init(input) {
}
const imports = __wbg_get_imports();

Expand Down

0 comments on commit 7a48400

Please sign in to comment.