Skip to content

Commit 43ed8d4

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 a735cd0 commit 43ed8d4

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
@@ -720,8 +720,8 @@ to help us document them.
720720
[Generating single executable preparation blobs]: #1-generating-single-executable-preparation-blobs
721721
[Mach-O]: https://en.wikipedia.org/wiki/Mach-O
722722
[PE]: https://en.wikipedia.org/wiki/Portable_Executable
723-
[Windows SDK]: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/
724723
[Using native addons in the injected main script]: #using-native-addons-in-the-injected-main-script
724+
[Windows SDK]: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/
725725
[`process.execPath`]: process.md#processexecpath
726726
[`require()`]: modules.md#requireid
727727
[`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
@@ -504,9 +504,8 @@ std::optional<SeaConfig> ParseSingleExecutableConfig(
504504
} else if (key == "useVfs") {
505505
bool use_vfs;
506506
if (field.value().get_bool().get(use_vfs)) {
507-
FPrintF(stderr,
508-
"\"useVfs\" field of %s is not a Boolean\n",
509-
config_path);
507+
FPrintF(
508+
stderr, "\"useVfs\" field of %s is not a Boolean\n", config_path);
510509
return std::nullopt;
511510
}
512511
if (use_vfs) {

0 commit comments

Comments
 (0)