fix update version script (#958)

This commit is contained in:
Alberto Iannaccone 2022-04-19 16:04:08 +02:00 committed by GitHub
parent c07232698c
commit e6b3e2ec23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ for (const toUpdate of [
pkg.version = targetVersion;
if ('dependencies' in pkg) {
for (const dep of Object.keys(pkg['dependencies'])) {
if (dep.startsWith('arduino-')) {
if (dep.startsWith('arduino-ide-')) {
pkg['dependencies'][dep] = targetVersion;
}
}