We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c9e08e commit faa8a4eCopy full SHA for faa8a4e
1 file changed
packages/cli/index.ts
@@ -222,7 +222,7 @@ const main = defineCommand({
222
}
223
224
const depUrl = new URL(
225
- `/${owner}/${repo}/${pJson.name}@${isCompact ? abbreviateCommitHash(sha) : sha}`,
+ `/${owner}/${repo}/${pJson.name}@${sha}`,
226
apiUrl,
227
).href;
228
deps.set(pJson.name, depUrl);
@@ -231,7 +231,7 @@ const main = defineCommand({
231
const resource = await fetch(depUrl);
232
if (resource.ok) {
233
console.warn(
234
- `${pJson.name}@${isCompact ? abbreviateCommitHash(sha) : sha} was already published on ${depUrl}`,
+ `${pJson.name}@${abbreviateCommitHash(sha)} was already published on ${depUrl}`,
235
);
236
237
@@ -676,4 +676,4 @@ function parsePackageJson(contents: string) {
676
} catch {
677
return null;
678
679
-}
+}
0 commit comments