Skip to content

Commit 4324a21

Browse files
authored
Merge pull request #546 from jamesgeorge007/improve-msg
chore: improve error message
2 parents e55275a + 889bf69 commit 4324a21

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/store.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ export async function verifyPat(pat: string, publisherName?: string): Promise<vo
6464
publisherName = (await readManifest()).publisher;
6565
} catch (error) {
6666
throw new Error(
67-
'Can not read the publisher name. Either supply it as argument or run vsce from the extension folder. Additional information:\n\n' +
68-
error
67+
`Can not read the publisher's name. Either supply it as an argument or run vsce from the extension folder. Additional information:\n\n${error}`
6968
);
7069
}
7170
}

0 commit comments

Comments
 (0)