Skip to content

Commit

Permalink
chore: Adapt rebasing rules for workbench to upstream changes
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>

rh-pre-commit.version: 2.2.0
rh-pre-commit.check-secrets: ENABLED
  • Loading branch information
RomanNikitenko committed Oct 3, 2024
1 parent 8f9b309 commit 5b685e3
Showing 1 changed file with 3 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,12 @@
"by": "<link rel=\\\"manifest\\\" href=\\\"./oss-dev/static/resources/server/manifest.json\\\" crossorigin=\\\"use-credentials\\\" />"
},
{
"from": "<link data-name=\\\"vs/workbench/workbench.web.main\\\" rel=\\\"stylesheet\\\" href=\\\"{{WORKBENCH_WEB_BASE_URL}}/out/vs/workbench/workbench.web.main.css\\\">",
"by": "<link data-name=\\\"vs/workbench/workbench.web.main\\\" rel=\\\"stylesheet\\\" href=\\\"./oss-dev/static/out/vs/workbench/workbench.web.main.css\\\">"
},
{
"from": "<script src=\\\"{{WORKBENCH_WEB_BASE_URL}}/out/vs/loader.js\\\"></script>",
"by": "<script src=\\\"./oss-dev/static/out/vs/loader.js\\\"></script>"
},
{
"from": "<script src=\\\"{{WORKBENCH_WEB_BASE_URL}}/out/vs/webPackagePaths.js\\\"></script>",
"by": "<script src=\\\"./oss-dev/static/out/vs/webPackagePaths.js\\\"></script>"
"from": "<link rel=\\\"stylesheet\\\" href=\\\"{{WORKBENCH_WEB_BASE_URL}}/out/vs/code/browser/workbench/workbench.css\\\"\\\">",
"by": "<link rel=\\\"stylesheet\\\" href=\\\"./oss-dev/static/out/vs/code/browser/workbench/workbench.css\\\">"
},
{
"from": "const baseUrl = new URL('{{WORKBENCH_WEB_BASE_URL}}', window.location.origin).toString();",
"by": "const baseUrl = `${window.location.protocol}//${window.location.host}${window.location.pathname}oss-dev/static`;"
"by": "const baseUrl = `${window.location.protocol}//${window.location.host}${window.location.pathname}oss-dev/static`;"
},
{
"from": "<script src=\\\"{{WORKBENCH_NLS_FALLBACK_URL}}\\\"></script>",
Expand All @@ -39,10 +31,6 @@
"from": "<script src=\\\"{{WORKBENCH_NLS_URL}}\\\"></script>",
"by": ""
},
{
"from": "<script src=\\\"{{WORKBENCH_WEB_BASE_URL}}/out/vs/workbench/workbench.web.main.internal.js\\\"></script>",
"by": "<script src=\\\"./oss-dev/static/out/vs/workbench/workbench.web.main.internal.js\\\"></script>"
},
{
"from": "<script src=\\\"{{WORKBENCH_WEB_BASE_URL}}/out/vs/code/browser/workbench/workbench.js\\\"></script>",
"by": "<script src=\\\"./oss-dev/static/out/vs/code/browser/workbench/workbench.js\\\"></script>"
Expand Down

0 comments on commit 5b685e3

Please sign in to comment.