Skip to content

Commit 5068994

Browse files
committed
lint
1 parent 9efd92a commit 5068994

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/node_task_runner.cc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,13 @@ void ProcessRunner::OnExit(int64_t exit_status, int term_signal) {
207207
void ProcessRunner::Run() {
208208
// keeps the string alive until destructor
209209
if (!node::per_process::cli_options->run_in_directory.empty()) {
210-
if (std::filesystem::is_directory(node::per_process::cli_options->run_in_directory)) {
210+
if (std::filesystem::is_directory(
211+
node::per_process::cli_options->run_in_directory)) {
211212
cwd = node::per_process::cli_options->run_in_directory;
212213
} else {
213-
fprintf(stderr, "Error: %s is not a directory\n", node::per_process::cli_options->run_in_directory.c_str());
214+
fprintf(stderr,
215+
"Error: %s is not a directory\n",
216+
node::per_process::cli_options->run_in_directory.c_str());
214217
init_result->exit_code_ = ExitCode::kGenericUserError;
215218
return;
216219
}

0 commit comments

Comments
 (0)