Skip to content

Commit

Permalink
snakeToCamel respects output of package sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
asarazan committed Mar 8, 2024
1 parent be880c2 commit 7115fef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"test": "jest",
"special": "ts-node src/index.ts '../../personal/Tangent-Mobile/api/entities/*.d.ts' -i -t -o ./schema/Tangent",
"special2": "ts-node src/index.ts 'tests/comparisons/**/*.d.ts' -i -t -o ./schema/Tests/",
"specia3": "ts-node src/index.ts '../../bankshift/bankshift-platform/src/handlers/**/*.d.ts' -i -t -s -o ./schema/Bankshift -p com.bankshift.mobile.shared.data.service.model.dto2",
"lint": "eslint . --ext .ts"
},
"author": "[email protected]",
Expand Down
1 change: 1 addition & 0 deletions src/martok/processing/SnakeCase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { MartokOutFile } from "../MartokOutFile";

export function processSnakeCase(files: MartokOutFile[]) {
for (const file of files) {
file.pkg = snakeToCamel(file.pkg);
for (const klass of file.text.declarations) {
if (!(klass instanceof Klass)) continue;
processKlass(klass);
Expand Down

0 comments on commit 7115fef

Please sign in to comment.