Skip to content

Commit 49a8cb7

Browse files
committed
sea,vfs: fix C++ formatting and markdown link ordering
Fix clang-format issue in FPrintF call for useVfs config parsing. Fix markdown lint warning for unordered reference link.
1 parent 16b3fa5 commit 49a8cb7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

doc/api/single-executable-applications.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,8 +677,8 @@ to help us document them.
677677
[Generating single executable preparation blobs]: #1-generating-single-executable-preparation-blobs
678678
[Mach-O]: https://en.wikipedia.org/wiki/Mach-O
679679
[PE]: https://en.wikipedia.org/wiki/Portable_Executable
680-
[Windows SDK]: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/
681680
[Using native addons in the injected main script]: #using-native-addons-in-the-injected-main-script
681+
[Windows SDK]: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/
682682
[`process.execPath`]: process.md#processexecpath
683683
[`require()`]: modules.md#requireid
684684
[`require.main`]: modules.md#accessing-the-main-module

src/node_sea.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -493,9 +493,8 @@ std::optional<SeaConfig> ParseSingleExecutableConfig(
493493
} else if (key == "useVfs") {
494494
bool use_vfs;
495495
if (field.value().get_bool().get(use_vfs)) {
496-
FPrintF(stderr,
497-
"\"useVfs\" field of %s is not a Boolean\n",
498-
config_path);
496+
FPrintF(
497+
stderr, "\"useVfs\" field of %s is not a Boolean\n", config_path);
499498
return std::nullopt;
500499
}
501500
if (use_vfs) {

0 commit comments

Comments
 (0)