Skip to content

Commit b70b07f

Browse files
dominykasEomm
andauthored
Update .github/actions/prepare-node-test-matrix-action/index.js
Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>
1 parent f707e47 commit b70b07f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • .github/actions/prepare-node-test-matrix-action

.github/actions/prepare-node-test-matrix-action/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ internals.normalizeRunsOn = function (runsOnInput) {
5151

5252
exports.main = function ({ now = new Date(), pkg = Package, debug = console.info } = {}) {
5353

54-
if (!pkg?.engines?.node) {
54+
if (!pkg.engines?.node) {
5555
throw new Error('`engines.node` range not defined in `package.json`.');
5656
}
5757

0 commit comments

Comments
 (0)