Skip to content

Commit 4aabbfe

Browse files
committed
fix: typeo
#17
1 parent 97ce840 commit 4aabbfe

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default class Client {
7676
request ?: RequestInit
7777
) : Promise<ContainerDownload> {
7878
if (!containerUrl.toLowerCase().startsWith(this.uri.toLowerCase())) {
79-
throw new Error('Container url must start with the same url ase the FM host');
79+
throw new Error('Container url must start with the same url as the FM host');
8080
}
8181

8282
const token = await this.getToken();

test/Client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ describe('Client', () => {
257257

258258
it('should throw error on requests with missmatched url', async () => {
259259
await expect(client.requestContainer('https://example.io'))
260-
.rejects.toEqual(new Error('Container url must start with the same url ase the FM host'));
260+
.rejects.toEqual(new Error('Container url must start with the same url as the FM host'));
261261
});
262262

263263
describe('clearToken', () => {

0 commit comments

Comments
 (0)