Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Aug 30, 2024
1 parent becd8c7 commit 9f10035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/which/Process.hx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import js.Node;
import php.Syntax;
#end

import asys.io.Process as AsysProcess;
import asys.io.Process as AsyncProcess;
using StringTools;
using tink.io.Source;

Expand All @@ -31,7 +31,7 @@ abstract class Process {

/** Gets the numeric identity of the current process by using the "id" command. **/
static function getProcessId(identity: String): Promise<Int> {
final process = new AsysProcess("id", ['-$identity']);
final process = new AsyncProcess("id", ['-$identity']);
return process.exitCode()
.next(exitCode -> exitCode == 0 ? process.stdout.all() : Error.withData('The "id" command failed.', exitCode))
.next(stdout -> {
Expand Down

0 comments on commit 9f10035

Please sign in to comment.