Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ protected override void GetDetails_UnSafe(IPackageDetails details)
}

string packageId;
// If source is ellpised or source is a local path, omit source argument
// If source is ellipsed, a local path, or a URL manifest, omit source argument
if (
details.Package.Source.Name.Contains("...")
|| details.Package.Source.Name.Contains(":\\")
|| details.Package.Source.Name.StartsWith("http")
)
packageId = $"{details.Package.Id}";
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ OperationType operation
},
];

// If source is ellpised or source is a local path, omit source argument
if (package.Source.Name.Contains("...") || package.Source.Name.Contains(":\\"))
// If source is ellipsed, a local path, or a URL manifest, omit source argument
if (package.Source.Name.Contains("...") || package.Source.Name.Contains(":\\") || package.Source.Name.StartsWith("http"))
parameters.Add($"{package.Id}");
else
parameters.Add($"{package.Source.Name}/{package.Id}");
Expand Down
Loading