ui5-test-runner 5.6.1 → 5.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/ui5.js +1 -1
package/package.json
CHANGED
package/src/ui5.js
CHANGED
|
@@ -135,7 +135,7 @@ module.exports = {
|
|
|
135
135
|
}
|
|
136
136
|
const relativeUrl = relative.replace(/\//g, '\\/')
|
|
137
137
|
if (source.startsWith(job.webapp)) {
|
|
138
|
-
const relativeAbsoluteUrl = relativePath(job.webapp, source).replace(/\\/g, '/')
|
|
138
|
+
const relativeAbsoluteUrl = '/' + relativePath(job.webapp, source).replace(/\\/g, '/')
|
|
139
139
|
getOutput(job).debug('libs', `${relative} maps to webapp sub directory, use internal redirection to ${relativeAbsoluteUrl}`)
|
|
140
140
|
mappings.unshift({
|
|
141
141
|
match: new RegExp(`\\/resources\\/${relativeUrl}(.*)`),
|