[F] Fix warning: " should be '

This commit is contained in:
Hykilpikonna
2019-09-28 16:33:00 -04:00
parent fff60f5754
commit 770e26b0cf
+2 -2
View File
@@ -42,7 +42,7 @@ export class GPAUtils
// Remove all courses that does not have a grade
coursesOriginal.forEach(course =>
{
if (course.letterGrade == null || course.letterGrade == "")
if (course.letterGrade == null || course.letterGrade == '')
{
accurate = false;
}
@@ -64,7 +64,7 @@ export class GPAUtils
courses.forEach(course =>
{
totalGPA += this.getGP(course, course.letterGrade);
maxTotal += this.getGP(course, "A+");
maxTotal += this.getGP(course, 'A+');
});
// Get average GPA, round to two decimal places