Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Fix fetch updates for the tunnel client. #86

Merged
merged 1 commit into from
Apr 4, 2019
Merged
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
4 changes: 2 additions & 2 deletions src/live-tunnel.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ async function fetchTunnelClient(execPath) {
return false;
}

const match = stdout.match(/^live-tunnel-client\/v([^\s]+)/);
const match = stdout.match(/^live-tunnel-client\/v?([^\s]+)/);
if (!match) {
return false;
}

return updateAvailable(match[1]);
return updateAvailable("netlify/live-tunnel-client", match[1]);
}

function execExist(binPath) {
Expand Down