diff --git a/lib/options-manager.js b/lib/options-manager.js index 664cf423..807aa8ac 100644 --- a/lib/options-manager.js +++ b/lib/options-manager.js @@ -207,6 +207,7 @@ const mergeOptions = (options, xoOptions = {}, enginesOptions = {}) => { ...options, }); + mergedOptions.nodeVersion = xoOptions.nodeVersion === false ? false : xoOptions.nodeVersion; mergedOptions.extensions = [...DEFAULT_EXTENSION, ...(mergedOptions.extensions || [])]; mergedOptions.ignores = getIgnores(mergedOptions);