Skip to content

Commit 5219071

Browse files
iowillhoitRodEsp
andauthored
starts with
Co-authored-by: Rodrigo Espinosa de los Monteros <1084688+RodEsp@users.noreply.github.com>
1 parent c928aac commit 5219071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/package.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export class Package extends AsyncOptionalCreatable {
205205
};
206206
}
207207
}
208-
if (value.includes(`npm:${name}`)) {
208+
if (value.startsWith(`npm:${name}`)) {
209209
// package name was passed in as name, but an alias is used for the dependency
210210
// e.g. passed in: "@salesforce/plugin-login"
211211
// dependency: "@sf/login": "npm:@salesforce/plugin-login@1.1.1"

0 commit comments

Comments
 (0)