less-openui5
Advanced tools
Comparing version 0.8.6 to 0.8.7
@@ -5,4 +5,10 @@ # Changelog | ||
A list of unreleased changes can be found [here](https://github.com/SAP/less-openui5/compare/v0.8.6...HEAD). | ||
A list of unreleased changes can be found [here](https://github.com/SAP/less-openui5/compare/v0.8.7...HEAD). | ||
<a name="v0.8.7"></a> | ||
## [v0.8.7] - 2020-06-09 | ||
### Bug Fixes | ||
- Error handling for missing scoping files [`c7513a1`](https://github.com/SAP/less-openui5/commit/c7513a101a2f01e9114ff86f5be598a29bc51be0) | ||
<a name="v0.8.6"></a> | ||
@@ -63,2 +69,3 @@ ## [v0.8.6] - 2020-02-24 | ||
[v0.8.7]: https://github.com/SAP/less-openui5/compare/v0.8.6...v0.8.7 | ||
[v0.8.6]: https://github.com/SAP/less-openui5/compare/v0.8.5...v0.8.6 | ||
@@ -65,0 +72,0 @@ [v0.8.5]: https://github.com/SAP/less-openui5/compare/v0.8.4...v0.8.5 |
@@ -173,4 +173,4 @@ // Copyright 2020 SAP SE. | ||
// eslint-disable-next-line no-console | ||
console.log("File not found: " + file); | ||
callback({type: "File", message: "'" + file + "' wasn't found"}); | ||
console.log("File not found: " + pathname); | ||
callback({type: "File", message: "Could not find file at path '" + pathname + "'"}); | ||
} else { | ||
@@ -377,4 +377,14 @@ try { | ||
return Promise.all([ | ||
that.fileUtils.readFile(scopeOptions.embeddedCompareFilePath, options.rootPaths).then(compile), | ||
that.fileUtils.readFile(scopeOptions.embeddedFilePath, options.rootPaths).then(compile) | ||
that.fileUtils.readFile(scopeOptions.embeddedCompareFilePath, options.rootPaths).then(function(config) { | ||
if (!config) { | ||
throw new Error("Could not find embeddedCompareFile at path '" + scopeOptions.embeddedCompareFilePath + "'"); | ||
} | ||
return compile(config); | ||
}), | ||
that.fileUtils.readFile(scopeOptions.embeddedFilePath, options.rootPaths).then(function(config) { | ||
if (!config) { | ||
throw new Error("Could not find embeddedFile at path '" + scopeOptions.embeddedFilePath + "'"); | ||
} | ||
return compile(config); | ||
}) | ||
]).then(function(results) { | ||
@@ -381,0 +391,0 @@ return { |
{ | ||
"name": "less-openui5", | ||
"version": "0.8.6", | ||
"version": "0.8.7", | ||
"description": "Build OpenUI5 themes with Less.js", | ||
@@ -45,5 +45,5 @@ "scripts": { | ||
"eslint-config-google": "^0.14.0", | ||
"graceful-fs": "^4.2.3", | ||
"mocha": "^7.0.1" | ||
"graceful-fs": "^4.2.4", | ||
"mocha": "^7.2.0" | ||
} | ||
} |
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
367605
8363