Skip to content

Commit

Permalink
fixed syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dobeybobey committed Oct 25, 2024
1 parent 4d41536 commit 4b5ee72
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ export class CopySessionModalComponent {
* check if session name is whitespace or not
*/
if (this.newFeedbackSessionName.trim().length==0) {

Check failure on line 42 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / lint (ubuntu-latest)

Operator '==' must be spaced

Check failure on line 42 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / lint (ubuntu-latest)

Expected '===' and instead saw '=='

Check failure on line 42 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / lint (windows-latest)

Operator '==' must be spaced

Check failure on line 42 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / lint (windows-latest)

Expected '===' and instead saw '=='
validName:false;
this.validName=false;

Check failure on line 43 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / lint (ubuntu-latest)

Operator '=' must be spaced

Check failure on line 43 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / lint (windows-latest)

Operator '=' must be spaced
return;

Check failure on line 44 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / lint (ubuntu-latest)

Unnecessary return statement

Check failure on line 44 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / lint (windows-latest)

Unnecessary return statement
} else {

Check failure on line 45 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / lint (ubuntu-latest)

Unnecessary 'else' after 'return'

Check failure on line 45 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / lint (windows-latest)

Unnecessary 'else' after 'return'
validName=true;
this.validName=true;

Check failure on line 46 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / lint (ubuntu-latest)

Operator '=' must be spaced

Check failure on line 46 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / lint (windows-latest)

Operator '=' must be spaced

Check failure on line 46 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / component-testing (windows-latest)

Property 'validName' does not exist on type 'CopySessionModalComponent'.
this.activeModal.close({
newFeedbackSessionName: this.newFeedbackSessionName,
sessionToCopyCourseId: this.sessionToCopyCourseId,
Expand Down

0 comments on commit 4b5ee72

Please sign in to comment.