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

housekeeping: cleanup logs, tsc errors, global requires #7240

Merged
merged 2 commits into from
Mar 22, 2023

Conversation

guymguym
Copy link
Member

Explain the changes

  1. cleanup logs, tsc errors, global requires

Issues: Fixed #xxx / Gap #xxx

  1. NA

Testing Instructions:

  1. NA
  • Doc added/updated
  • Tests added

Signed-off-by: Guy Margalit <guymguym@gmail.com>
Signed-off-by: Guy Margalit <guymguym@gmail.com>
@@ -692,7 +700,13 @@ class NamespaceS3 {

/**
*
* @param {AWS.S3.HeadObjectOutput | AWS.S3.GetObjectOutput} res
* @param {Omit<Partial<
Copy link
Contributor

Choose a reason for hiding this comment

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

Omit is from typescript? (it is a javascript file I don't understand).
And another question - did you use an automatic tool for all the changes that are JSDoc comments?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

@guymguym guymguym Mar 22, 2023

Choose a reason for hiding this comment

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

the tool is tsc - npm run ts

@@ -307,6 +304,7 @@ class ObjectSDK {

_setup_merge_namespace(bucket) {
let rr = _.cloneDeep(bucket.namespace.read_resources);
/** @type {nb.Namespace} */
Copy link
Contributor

Choose a reason for hiding this comment

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

This @type is for the wr variable?
If so, why not add the @type line before rr variable statement?

Copy link
Member Author

Choose a reason for hiding this comment

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

leaving something for others :)

Copy link
Contributor

@liranmauda liranmauda left a comment

Choose a reason for hiding this comment

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

LGTM

@guymguym guymguym merged commit 30950f1 into noobaa:master Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants