Skip to content

Commit c928aac

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/package.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ export class Package extends AsyncOptionalCreatable {
206206
}
207207
}
208208
if (value.includes(`npm:${name}`)) {
209-
// package name was passed, but an alias is used for the dependency
209+
// package name was passed in as name, but an alias is used for the dependency
210+
// e.g. passed in: "@salesforce/plugin-login"
211+
// dependency: "@sf/login": "npm:@salesforce/plugin-login@1.1.1"
210212
return {
211213
dependencyName: key,
212214
packageName: name,

0 commit comments

Comments
 (0)