Skip to content

Commit

Permalink
Fix typo in comments erroring out CI jobs
Browse files Browse the repository at this point in the history
Every time a Gradle build runs, it throws "soft errors" where unmappable characters are found and muddies up builds, as well as potentially failing CI.

Build error shown here: https://github.com/OakvilleDynamics/2024-Robot/actions/runs/7634385549/job/20798185423

This is because "—" (em dash) is not a standard US-ASCII character (or at least not according to Gradle), and should've been replaced by a "-" (hyphen).
  • Loading branch information
garrettsummerfi3ld committed Jan 24, 2024
1 parent 4025d50 commit cde0b2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class AbsoluteDrive extends Command {
/**
* Used to drive a swerve robot in full field-centric mode. vX and vY supply translation inputs,
* where x is torwards/away from alliance wall and y is left/right. headingHorzontal and
* headingVertical are the Cartesian coordinates from which the robot's angle will be derived
* headingVertical are the Cartesian coordinates from which the robot's angle will be derived-
* they will be converted to a polar angle, which the robot will rotate to.
*
* @param swerve The swerve drivebase subsystem.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class AbsoluteFieldDrive extends Command {
/**
* Used to drive a swerve robot in full field-centric mode. vX and vY supply translation inputs,
* where x is torwards/away from alliance wall and y is left/right. headingHorzontal and
* headingVertical are the Cartesian coordinates from which the robot's angle will be derived
* headingVertical are the Cartesian coordinates from which the robot's angle will be derived-
* they will be converted to a polar angle, which the robot will rotate to.
*
* @param swerve The swerve drivebase subsystem.
Expand Down

0 comments on commit cde0b2c

Please sign in to comment.