File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ( ) ;
Original file line number Diff line number Diff 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' , ( ) => {
You can’t perform that action at this time.
0 commit comments