Skip to content

Commit

Permalink
chore: add typos exception (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy authored Dec 10, 2024
1 parent d37c687 commit 5182411
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp2
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ cl_build_build_script_cmd: (info: cpp2b_source_build_info, bin_outpath: fs::path
cmd_str += " \"(transpiled_src .string())$\"";
cmd_str += " -I\"(cppfront_include_dir.string())$\"";
cmd_str += " /Fe\"(fs::relative(bin_outpath).string())$\"";
cmd_str += " /Fo\"(fs::relative(bin_outpath).parent_path())$\"";
cmd_str += " /Fo\"(fs::relative(bin_outpath).parent_path().string())$\""; // typos:disable-line
cmd_str += " /link";
return cmd_str;
}
Expand Down
3 changes: 3 additions & 0 deletions typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
extend-exclude = [
"src/nlohmann.json.cppm",
]

[default]
extend-ignore-re = ["(?Rm)^.*(#|//)\\s*typos:disable-line$"]

0 comments on commit 5182411

Please sign in to comment.