Skip to content

Commit

Permalink
Merge branch 'hotfix/1.6.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
nsteenbeek committed Apr 16, 2020
2 parents ce97914 + 0fe444e commit 5c177bd
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bin/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/root/tools/deploy.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/root/tools/resx.js

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

2 changes: 1 addition & 1 deletion bin/root/tools/setFormCustomizable.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hso/d365-cli",
"version": "1.6.0",
"version": "1.6.1",
"author": "HSO Innovation <[email protected]> (http://www.hso.com)",
"description": "HSO D365 Command Line Interface",
"repository": {
Expand Down
5 changes: 3 additions & 2 deletions src/generator/Model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,9 @@ export class Model extends AdalRouter {
if (['String', 'Memo', 'DateTime', 'Lookup', 'Customer', 'Owner', 'Uniqueidentifier'].includes(attributeType)) {
return 'string';
} else if (['Boolean'].includes(attributeType)) {
const options = await NodeApi.getBooleanOptionSet(this.entityLogicalName, logicalName, this.bearer);
return options.map(option => option.value).join(' | ');
// const options = await NodeApi.getBooleanOptionSet(this.entityLogicalName, logicalName, this.bearer);
// return options.map(option => option.value).join(' | ');
return 'boolean';
} else if (['Picklist'].includes(attributeType)) {
const options = await NodeApi.getPicklistOptionSet(this.entityLogicalName, logicalName, this.bearer);
return options.map(option => option.value).join(' | ');
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {Generator} from './generator/Generator';
import {Variables} from './Variables';

program
.version('1.6.0') // .version(require('../package').version)
.version('1.6.1') // .version(require('../package').version)
.usage('<command> [options]');

program
Expand Down

0 comments on commit 5c177bd

Please sign in to comment.