@iobroker/js-controller-common
Advanced tools
Comparing version 4.0.0-alpha.17-20211126-ca254a68 to 4.0.0-alpha.18-20211130-4386c795
@@ -163,3 +163,3 @@ /* jshint -W097 */ | ||
let fName = 0; | ||
const isWindows = os.platform().match(/^win/); | ||
const isWindows = os.platform().startsWith('win'); | ||
Object.keys(userOptions.transport).forEach(f => { | ||
@@ -418,3 +418,3 @@ const transport = userOptions.transport[f]; | ||
this.log({ | ||
level: os.platform().match(/^win/) ? 'info' : 'error', | ||
level: os.platform().startsWith('win') ? 'info' : 'error', | ||
message: `host.${hostname} Cannot delete file "${path.normalize(transport.dirname + '/' + files[i])}": ${e}` | ||
@@ -421,0 +421,0 @@ }); |
@@ -50,3 +50,3 @@ /** | ||
version = process.version.replace('v', ''); | ||
version = !version.match(/^0\.10\./); | ||
version = !version.startsWith('0.10.'); | ||
} | ||
@@ -53,0 +53,0 @@ |
{ | ||
"name": "@iobroker/js-controller-common", | ||
"version": "4.0.0-alpha.17-20211126-ca254a68", | ||
"version": "4.0.0-alpha.18-20211130-4386c795", | ||
"engines": { | ||
@@ -49,3 +49,3 @@ "node": ">=12.0.0" | ||
], | ||
"gitHead": "f84a2efeb031f6cd57363bf3ed79b4ff6e21d638" | ||
"gitHead": "f262c82c7cb53004b1af415ff975b076226973ca" | ||
} |
Sorry, the diff of this file is too big to display
142982
3541