Skip to content

Commit

Permalink
fix(child_process): call to_string on const unsigned long so its not …
Browse files Browse the repository at this point in the history
…inferred as const SSC::JSON::Any
  • Loading branch information
heapwolf committed Mar 18, 2024
1 parent a681818 commit 930016d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/child_process.cc
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ namespace SSC {
{"source", "child_process.exec"},
{"data", JSON::Object::Entries {
{"id", std::to_string(id)},
{"pid", pid},
{"pid", std::to_string(pid)},
{"stdout", *stdoutBuffer},
{"stderr", *stderrBuffer},
{"code", code}
Expand Down Expand Up @@ -155,7 +155,7 @@ namespace SSC {
{"source", "child_process.exec"},
{"err", JSON::Object::Entries {
{"id", std::to_string(id)},
{"pid", pid},
{"pid", std::to_string(pid)},
{"stdout", *stdoutBuffer},
{"stderr", *stderrBuffer},
{"code", "ETIMEDOUT"}
Expand Down

0 comments on commit 930016d

Please sign in to comment.