swanky-cli icon indicating copy to clipboard operation
swanky-cli copied to clipboard

[BUG] `check` command do not list all ink dependencies correctly

Open ipapandinas opened this issue 1 year ago • 0 comments

Description

https://github.com/inkdevhub/swanky-cli/blob/9a9d2900953511f777f0be4efe27146d4c345e6b/src/commands/check/index.ts#L82

Here we should filter both possible dependency types: "ink" & "ink_" (e.g. "ink_e2e"). We can use this filter approach instead:

.filter(([depName]) => /^ink($|_)/.test(depName))

ipapandinas avatar Jan 16 '24 11:01 ipapandinas