Removed comments
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
3199797ee0
commit
7038d67d94
|
@ -164,14 +164,9 @@ module.exports = Self => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (image != null) {
|
if (image != null) {
|
||||||
// if the dir does not exist
|
|
||||||
if (!fs.existsSync(dir))
|
if (!fs.existsSync(dir))
|
||||||
dmsRecover(tickets[i], signContent);
|
dmsRecover(tickets[i], signContent);
|
||||||
else {
|
else {
|
||||||
// Create the file with the image,
|
|
||||||
// the name is the variable image,
|
|
||||||
// the content is the signContent and is in base64
|
|
||||||
console.log('image', image);
|
|
||||||
fs.writeFile(image, signContent, 'base64', async function(err) {
|
fs.writeFile(image, signContent, 'base64', async function(err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
await tx.rollback();
|
await tx.rollback();
|
||||||
|
|
Loading…
Reference in New Issue