Skip to content
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.

Commit

Permalink
Fix values function
Browse files Browse the repository at this point in the history
fix #266
  • Loading branch information
Dufgui committed Oct 30, 2019
1 parent 48341be commit 433f78d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/jhipsteruml.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
const fs = require('fs');
const chalk = require('chalk');

const values = require('jhipster-core').ObjectUtils.values;
const logger = require('./utils/logger');
const argv = require('./jhipsteruml/command_line_option_handler').handle().argv;
const CommandLineOptionHandler = require('./jhipsteruml/command_line_option_handler');
Expand Down Expand Up @@ -113,7 +112,7 @@ async function main() {
});
}

exportToJSON(entities, values(entityIdsByName), parsedData, entityNamesToGenerate);
exportToJSON(entities, Object.values(entityIdsByName), parsedData, entityNamesToGenerate);
EntityGenerator.generateEntities(Object.keys(entities), parsedData.classes, entityNamesToGenerate, options);

function initParserFactoryArgs() {
Expand Down

0 comments on commit 433f78d

Please sign in to comment.