Skip to content

Conversation

@skjnldsv
Copy link
Contributor

@skjnldsv skjnldsv commented Jan 9, 2024

No description provided.

@skjnldsv skjnldsv requested a review from susnux January 9, 2024 11:55
@skjnldsv skjnldsv self-assigned this Jan 9, 2024
@skjnldsv skjnldsv added type: bug 🐛 Something isn't working 3. to review 3️⃣ Waiting for reviews labels Jan 9, 2024
@codecov
Copy link

codecov bot commented Jan 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3feced0) 77.75% compared to head (255f63b) 77.75%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #862   +/-   ##
=======================================
  Coverage   77.75%   77.75%           
=======================================
  Files          17       17           
  Lines         436      436           
  Branches      115      116    +1     
=======================================
  Hits          339      339           
  Misses         97       97           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@skjnldsv skjnldsv merged commit b2105ae into master Jan 9, 2024
@skjnldsv skjnldsv deleted the fix/owner branch January 9, 2024 12:00
* @param remoteURL The DAV server remote URL (same as on `davGetClient`)
*/
export const davResultToNode = function(node: FileStat, filesRoot = davRootPath, remoteURL = davRemoteURL): Node {
const props = node.props as ResponseProps
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add owner-id to ResponseProps as string | undefined? Then you do not need to cast later and it is more clear that it exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review 3️⃣ Waiting for reviews type: bug 🐛 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants