Skip to content

Commit

Permalink
#1406: ts-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Jul 5, 2024
1 parent 61846cd commit 56b0edf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/metadataTypes/TransactionalEmail.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ class TransactionalEmail extends TransactionalMessage {
/**
* Gets executed after deployment of metadata type
*
* @returns {void}
* @returns {Promise.<void>} -
*/
static postDeployTasks() {
static async postDeployTasks() {
if (this._createdJourneyKeys?.length) {
Util.logger.warn(
`Please download related journeys via: mcdev r ${this.buObject.credential}/${
Expand Down
1 change: 0 additions & 1 deletion test/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ export function mockSetup(isDeploy) {
skipInteraction: undefined,
});
}
// @ts-expect-error somehow, MockAdapter does not expect type AxiosInstance
apimock = new MockAdapter(axiosInstance, { onNoMatch: 'throwException' });
// set access_token to mid to allow for autorouting of mock to correct resources
apimock.onPost(authResources.success.url).reply((config) => {
Expand Down

0 comments on commit 56b0edf

Please sign in to comment.