Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 22, 2024
1 parent 1681a70 commit 8d2315c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/main/java/frc/robot/subsystems/Index.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ public Index() {}

public Command shoot() {
if (!m_hasNote.getAsBoolean()) {
return runOnce(() ->{}).withName("Empty Index");
return runOnce(() -> {}).withName("Empty Index");
} else {
return run(() -> m_motor.setVoltage(-8)).until(m_hasNote.negate()).withName("Index PassThrough");
return run(() -> m_motor.setVoltage(-8))
.until(m_hasNote.negate())
.withName("Index PassThrough");
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/warp-paths-v1.chor

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8d2315c

Please sign in to comment.