Done this as a need help as i am not sure if this is me misunderstanding things.
node local server/ non docker.
I installed an npm (My IMAP extn) and found with my new server I am using that the code needed tweaking
I have not added a fileCopy section as I understand that is no longer needed.
Where i had:
return new Promise((resolve) => {
const imap = new Imap({
user: IMAP_USER,
password: IMAP_PASSWORD,
host: IMAP_HOST,
port: IMAP_PORT,
tls: true
});
I needed to update to
return new Promise((resolve) => {
const imap = new Imap({
user: IMAP_USER,
password: IMAP_PASSWORD,
host: IMAP_HOST,
port: IMAP_PORT,
tls: true,
tlsOptions: {
rejectUnauthorized: process.env.IMAP_CERTIFICATE_OVERRIDE === '1' ? false : true
}
});
So i updated the npm repository with the updated code and ran the project updater.
To be safe i also did an npm update
Examining the resultant files, the entry in node_modules is correctly updated to the new version HOWEVER the files under extensions/server_connect/modules are unchanged.
Is this a bug, have i done something wrong or do i still need the copyFiles section when using non docker target to copy the updated files to the extensions folder on updating?