#239 Fixed now with Changelog

This commit is contained in:
UKDTOM 2021-02-15 01:25:33 +01:00
parent e43cae4dbc
commit 3f3084ca60
4 changed files with 9 additions and 9 deletions

View file

@ -11,6 +11,7 @@
* [#233 Electron errors after updating](https://github.com/WebTools-NG/WebTools-NG/pull/233)
* [#234 Editing a custom level](https://github.com/WebTools-NG/WebTools-NG/pull/234)
* [#238 We need a Text qualifier](https://github.com/WebTools-NG/WebTools-NG/pull/238)
* [#239 Does not output if the output folder does NOT exist](https://github.com/WebTools-NG/WebTools-NG/pull/239)
## V0.1.13

View file

@ -497,7 +497,9 @@ const excel2 = new class Excel {
targetDir, outFile);
// Make sure target dir exists
const fs = require('fs')
fs.mkdirSync(targetDir);
if (!fs.existsSync(targetDir)) {
fs.mkdirSync(targetDir);
}
log.info(`OutFile is ${outFileWithPath}`)
return outFileWithPath;
}
@ -831,12 +833,11 @@ const excel2 = new class Excel {
{
const header = excel2.GetHeader(level, libType)
log.debug(`header: ${header}`);
const strHeader = header.join(wtconfig.get('ET.ColumnSep', ','))
const strHeader = header.join(wtconfig.get('ET.ColumnSep', ','));
// Now we need to find out how many calls to make
const call = await et.getLevelCall(libType, level)
const call = await et.getLevelCall(libType, level);
// Open a file stream
const tmpFile = await excel2.getFileName({ Library: libName, Level: level, Type: 'tmp', Module: i18n.t('Modules.ET.Name') })
console.log('Ged 5 et tmpFile', tmpFile)
const tmpFile = await excel2.getFileName({ Library: libName, Level: level, Type: 'tmp', Module: i18n.t('Modules.ET.Name') });
var fs = require('fs');
var stream = fs.createWriteStream(tmpFile, {flags:'a'});
// Add the header

View file

@ -158,12 +158,11 @@ export default {
async CheckExportDir() {
if ( wtutils.ExportDirPresent )
{
console.log('Ged1 Home ExportDir OK')
log.info('ExportDir OK');
}
else
{
console.log('Ged2 Home ExportDir ERROR')
log.error('ExportDir missing');
const bodyStr = i18n.t("Common.ErrorNoOutDirMsg");
this.$bvToast.toast(bodyStr, {
title: this.$t("Common.ErrorNoOutDirTitle"),

View file

@ -249,7 +249,6 @@
this.updateTbl(this.selSection);
},
getFilterSettings() {
console.log('Ged get filter settings')
this.selFilterSetting = wtconfig.get('PMS.FilterSetting', 'AllSettings');
}
}