Skip to content

Commit 48ab076

Browse files
committed
fix: typo
1 parent 876cf96 commit 48ab076

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/src/main/java/net/laprun/sustainability/power/sensors/macos/powermetrics/NuProcessWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public NuProcessWrapper() {
1919
private NuProcess exec(PowermetricsProcessHandler handler) {
2020
if (handler == null)
2121
throw new IllegalArgumentException("Handler cannot be null");
22-
return new NuProcessBuilder(handler, handler.comand()).start();
22+
return new NuProcessBuilder(handler, handler.command()).start();
2323
}
2424

2525
@Override

backend/src/main/java/net/laprun/sustainability/power/sensors/macos/powermetrics/PowermetricsProcessHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public PowermetricsProcessHandler(String... command) {
3131
this.command = args;
3232
}
3333

34-
public String[] comand() {
34+
public String[] command() {
3535
return command;
3636
}
3737

0 commit comments

Comments
 (0)