Skip to content

Commit

Permalink
chore(release): pull hotfix-release/v1.44.2 into main (#2700)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepdsvs authored Oct 9, 2023
2 parents 5e762fc + 1ba7d22 commit f4c3a6b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.44.2](https://github.com/rudderlabs/rudder-transformer/compare/v1.44.1...v1.44.2) (2023-10-09)


### Bug Fixes

* create instance of transformedObj ([37495e3](https://github.com/rudderlabs/rudder-transformer/commit/37495e3e4a90dc9c5abbf74e7d58152a9af10daf))

### [1.44.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.44.0...v1.44.1) (2023-10-06)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rudder-transformer",
"version": "1.44.1",
"version": "1.44.2",
"description": "",
"homepage": "https://github.com/rudderlabs/rudder-transformer#readme",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/eventTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class EventTestController {
};
ctx.status = 400;
}
ctx.set('apiVersion', this.API_VERSION);
ctx.set('apiVersion', EventTestController.API_VERSION);

Check warning on line 22 in src/controllers/eventTest.ts

View check run for this annotation

Codecov / codecov/patch

src/controllers/eventTest.ts#L22

Added line #L22 was not covered by tests
}

public static status(ctx: Context) {
Expand Down
4 changes: 2 additions & 2 deletions src/services/eventTest/eventTester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class EventTesterService {
function capitalize(s) {
return s === 'id' ? s.toUpperCase() : s.charAt(0).toUpperCase() + s.slice(1);
}
let transformedObj: FixMe;
const transformedObj: FixMe = {};

Check warning on line 14 in src/services/eventTest/eventTester.ts

View check run for this annotation

Codecov / codecov/patch

src/services/eventTest/eventTester.ts#L14

Added line #L14 was not covered by tests
const { destinationDefinition } = dest;
Object.keys(dest).forEach((key) => {
transformedObj[capitalize(key)] = dest[key];
Expand Down Expand Up @@ -54,7 +54,7 @@ export default class EventTesterService {
libraries,
};

let response: FixMe;
let response: FixMe = {};

Check warning on line 57 in src/services/eventTest/eventTester.ts

View check run for this annotation

Codecov / codecov/patch

src/services/eventTest/eventTester.ts#L57

Added line #L57 was not covered by tests
let errorFound = false;

if (stage.user_transform) {
Expand Down

0 comments on commit f4c3a6b

Please sign in to comment.