Skip to content

Commit

Permalink
Merge pull request #18 from flotiq/fix/24742-duplicate-identifiers-js
Browse files Browse the repository at this point in the history
#24742 fix duplicates in WithoutInternalAllOf files
  • Loading branch information
mniemcewicz authored Jun 4, 2024
2 parents 356ca38 + 4006c2f commit a4c0ffc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clean_duplicate_import.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fs = require('fs');
const path = require('path');
const glob = require('glob');

const filePatterns = ['src/models/*WithoutInternal.ts', 'src/models/*WithoutRequired.ts'];
const filePatterns = ['src/models/*WithoutInternal.ts', 'src/models/*WithoutRequired.ts', 'src/models/*WithoutInternalAllOf*.ts'];
const deleteLine = "import { DataSource, DataSourceFromJSON } from './DataSource';";

const cleanDuplicateImport = (cwd) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flotiq-codegen-ts",
"version": "1.1.1",
"version": "1.1.2",
"description": "CLI tool to generate API clients using Flotiq API and OpenAPI Generator",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit a4c0ffc

Please sign in to comment.