@netlify/build-info
Advanced tools
Comparing version 7.7.0 to 7.7.1
@@ -63,8 +63,8 @@ async function applyBuildSystemOverrides(settings, project, baseDirectory) { | ||
export async function getBuildSettings(project, packagePath) { | ||
project.logger.debug('[get-build-settings.ts] getBuildSettings'); | ||
if (project.frameworks === undefined) { | ||
throw new Error('Please run the framework detection before calling the build settings!'); | ||
} | ||
const baseDirectory = packagePath || project.relativeBaseDirectory || ''; | ||
const baseDirectory = packagePath ?? project.relativeBaseDirectory ?? ''; | ||
const settingsPromises = []; | ||
project.logger.debug(`[get-build-settings.ts] getBuildSettings for baseDirectory: ${baseDirectory}`); | ||
// if we are in a workspace and trying to retrieve the settings from the root | ||
@@ -71,0 +71,0 @@ if (project.workspace && project.workspace.packages.length > 0 && baseDirectory.length === 0) { |
{ | ||
"name": "@netlify/build-info", | ||
"version": "7.7.0", | ||
"version": "7.7.1", | ||
"description": "Build info utility", | ||
@@ -76,3 +76,3 @@ "type": "module", | ||
}, | ||
"gitHead": "65f78d4f3a2ee7eab04efac2b46fc8c9d66c1307" | ||
"gitHead": "84cf51d5c30422e8714a4e0dd188e320acfb87c2" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
306600