extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Simplify parsed path passing

Open Rafer45 opened this issue 2 years ago • 0 comments

The previous code involved many assignments at the caller's level and a helper function; this PR removes the helper function and moves the assignments into the function body using a destructuring assignment.

I'm not sure about the variable names I chose, so please be opinionated if you'd like. I kept the old variable names where possible to minimize the diff size.

Looking forward to your thoughts.

Rafer45 avatar Oct 14 '22 18:10 Rafer45