Skip to content

Commit 889bf69

Browse files
refactor: leverage template literals
1 parent e06fee1 commit 889bf69

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's name. Either supply it as an 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)