Skip to content

Commit dc0e3a2

Browse files
committed
remove duplicate of long URL in error message on downloading Vim asset
1 parent 7c09edd commit dc0e3a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vim.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ async function installVimAssetOnWindows(file: string, url: string) {
9090
const assetFile = path.join(dlDir, file);
9191

9292
try {
93-
core.debug(`Downloading ${url} to ${dlDir}`);
93+
core.debug(`Downloading asset at ${url} to ${dlDir}`);
9494
const response = await fetch(url);
9595
if (!response.ok) {
96-
throw new Error(`Downloading asset from ${url} failed: ${response.statusText}`);
96+
throw new Error(`Downloading asset failed: ${response.statusText}`);
9797
}
9898
const buffer = await response.buffer();
9999
await fs.writeFile(assetFile, buffer, { encoding: null });

0 commit comments

Comments
 (0)