Skip to content

codeintel/dependencies: Simplify lockfileDependencies

Warren Gifford requested to merge ts/replace-channel-with-mutex into main

Created by: tsenart

This commit simplifies the lockfileDependencies method by leveraging a sync.Mutex instead of a buffered channel, as well as ensuring we cancel the existing context when returning from the method.

Test plan

Existing tests.

Merge request reports

Loading