Skip to content

Commit

Permalink
fix duplicates in WithoutInternalAllOf files
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Niemcewicz committed Jun 4, 2024
1 parent 356ca38 commit 4006c2f
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 4006c2f

Please sign in to comment.