There was an error while loading. Please reload this page.
1 parent 9a5c2fc commit 8d6e277Copy full SHA for 8d6e277
1 file changed
src/resources/python/pip/pip.ts
@@ -118,7 +118,7 @@ export class Pip extends Resource<PipResourceConfig> {
118
// The diffing algo is not smart enough to differentiate between same two items but different (modify) and same two items but same (keep).
119
const parsedInstalledPackages = JSON.parse(installedPackages)
120
.map(({ name, version }: { name: string; version: string}) => {
121
- const match = parameters.install!.find((p) => {
+ const match = parameters.install?.find((p) => {
122
if (typeof p === 'string') {
123
return p === name;
124
}
0 commit comments