Debugging logs
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2022-06-03 12:18:06 +02:00
parent f3eb36f8ee
commit b98ac4f233
1 changed files with 3 additions and 1 deletions

View File

@ -81,6 +81,8 @@ module.exports = Self => {
} }
const AdmZip = require('adm-zip'); const AdmZip = require('adm-zip');
console.log(paths.remoteFile);
console.log(paths.tempFile);
const zip = new AdmZip(paths.tempFile); const zip = new AdmZip(paths.tempFile);
const entries = zip.getEntries(); const entries = zip.getEntries();
@ -131,8 +133,8 @@ module.exports = Self => {
const rawPath = path.join(paths.tempDir, entryName); const rawPath = path.join(paths.tempDir, entryName);
try {
const tx = await Self.beginTransaction({}); const tx = await Self.beginTransaction({});
try {
const options = {transaction: tx}; const options = {transaction: tx};
const tableName = `edi.${toTable}`; const tableName = `edi.${toTable}`;