Closed lokeshdaiya closed 1 year ago
Currently outFile path is being used from SETTINGS variable https://github.com/demike/TsUML2/blob/18f381c0682075d7e6b9a1f5797d1d7f7c70d3f2/src/core/index.ts#L106 Due to which output file is not getting saved on user specified location. Similarly there are few more properties which should be override if user settings is passed.
outFile
SETTINGS
In below example output file should be saved on specified path
const t = require('tsuml2') t.createNomnomlSVG({glob: `D:/apps/src/app/**/!(*.d|*.spec).ts`,outFile: 'D:/apps/src/demo.svg'});
LGTM!
Currently
outFile
path is being used fromSETTINGS
variable https://github.com/demike/TsUML2/blob/18f381c0682075d7e6b9a1f5797d1d7f7c70d3f2/src/core/index.ts#L106 Due to which output file is not getting saved on user specified location. Similarly there are few more properties which should be override if user settings is passed.In below example output file should be saved on specified path