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

fromfreelance #923

Merged
merged 4 commits into from
Jun 3, 2022
Merged

fromfreelance #923

merged 4 commits into from
Jun 3, 2022

Conversation

GreenScreenRabbit
Copy link
Contributor

From freelance Viktor Shlapak

@lgtm-com
Copy link

lgtm-com bot commented Jun 3, 2022

This pull request fixes 4 alerts when merging d0c4e50 into d4cab74 - view on LGTM.com

fixed alerts:

  • 3 for Useless assignment to local variable
  • 1 for Useless conditional

try {
let fixedCallbackMethod = false;

if (!typeof callback) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

можете вернуть обратно этот кусок кода, и выкидывать ошибку в случае если нету имени?

package.json Outdated
@@ -53,6 +53,7 @@
"cross-env": "7.0.3",
"lodash": "4.17.21",
"path-exists": "5.0.0",
"pixel-email-cli": "^0.2.0",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а зачем вы установили пакет?

},
'previewText':{
constant: REGEXP_PREVIEW_TEXT,
callback: previewText
replacer: previewText
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а где импорт для previewText?

},
'empty': {
constant: REGEXP_HTML_COMMENTS,
callback: comments
replacer: comments
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

можете закоментить код, так как нету импорта?

},
'blockquote': {
constant: REGEXP_BLOCKQUOTE,
callback: blockQuote
replacer: blockQuote
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

импортируеться blockquote а здесь по другому названо?

},
'separator': {
constant: REGEXP_SEPARATOR,
callback: separator
replacer: separator
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

отсутствует импорт

},
'REGEXP_EMPTY_OL': {
constant: REGEXP_EMPTY_OL,
callback: emptyOl
replacer: emptyOl
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

можете закоментить код, так как нету импорта?

@lgtm-com
Copy link

lgtm-com bot commented Jun 3, 2022

This pull request fixes 4 alerts when merging 5f4b357 into d4cab74 - view on LGTM.com

fixed alerts:

  • 3 for Useless assignment to local variable
  • 1 for Useless conditional

@lgtm-com
Copy link

lgtm-com bot commented Jun 3, 2022

This pull request fixes 3 alerts when merging 9bd8151 into d4cab74 - view on LGTM.com

fixed alerts:

  • 3 for Useless assignment to local variable

@vadim9999 vadim9999 merged commit 48a381d into LLazyEmail:main Jun 3, 2022
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