We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74206a5 commit ffbae09Copy full SHA for ffbae09
lib/gh/workers/template-oss-fix.mjs
@@ -97,12 +97,13 @@ export default [
97
},
98
({ item, run, argv }) => {
99
const pkg = run(...getPkg())
100
- const updateEngines = run(...getPkg()).engines.node
+ const updateEngines = run(...getPkg()).engines?.node
101
const baseEngines = run(...getRemotePkg({ item, ref: item.baseRef }))
102
.engines?.node
103
104
const isBreaking =
105
- !baseEngines || !semver.subset(baseEngines, updateEngines)
+ updateEngines &&
106
+ (!baseEngines || !semver.subset(baseEngines, updateEngines))
107
108
const commitType = isBreaking ? 'feat!:' : 'chore:'
109
const footer = isBreaking
0 commit comments