Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved initialization of 'current_scan' #10

Merged
merged 1 commit into from
Aug 21, 2023
Merged

Moved initialization of 'current_scan' #10

merged 1 commit into from
Aug 21, 2023

Conversation

TassiloPitrasch
Copy link
Contributor

When running the tool the first time, the variable 'current_scan' is not defined. However, sending a notification to a Teams channel requires this value to be set. To prevent trying to call the 'replace' method in line 370 on a null-valued expression, I moved the initialization of 'current_scan' so that it's defined for every execution.

@mpgn mpgn merged commit bc11cf7 into LuccaSA:main Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants