@codingame/monaco-vscode-issue-service-override 38.0.1 → 38.0.3
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-issue-service-override",
|
|
3
|
-
"version": "38.0.
|
|
3
|
+
"version": "38.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - issue service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "38.0.
|
|
18
|
+
"@codingame/monaco-vscode-api": "38.0.3"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -1243,7 +1243,7 @@ let BaseIssueReporterService = class BaseIssueReporterService extends Disposable
|
|
|
1243
1243
|
if (this.issueReporterModel.fileOnExtension()) {
|
|
1244
1244
|
repositoryUrl = repositoryUrl + "/issues/new";
|
|
1245
1245
|
}
|
|
1246
|
-
const queryStringPrefix = repositoryUrl.indexOf("?") === -1 ? "?" : "&";
|
|
1246
|
+
const queryStringPrefix = ( repositoryUrl.indexOf("?")) === -1 ? "?" : "&";
|
|
1247
1247
|
return `${repositoryUrl}${queryStringPrefix}title=${encodeURIComponent(issueTitle)}`;
|
|
1248
1248
|
}
|
|
1249
1249
|
clearExtensionData() {
|
|
@@ -341,7 +341,7 @@ let IssueFormService = class IssueFormService extends Disposable {
|
|
|
341
341
|
}
|
|
342
342
|
createBodyWithIssueDataLink(body, issueDataUrl) {
|
|
343
343
|
const attachmentMarkdown = `\n\n### ${( localize(18078, "Additional Issue Data"))}\n\n[${ISSUE_DATA_ATTACHMENT_NAME}](${issueDataUrl})`;
|
|
344
|
-
const markerIndex = body.indexOf(GENERATED_BY_ISSUE_REPORTER_MARKER);
|
|
344
|
+
const markerIndex = ( body.indexOf(GENERATED_BY_ISSUE_REPORTER_MARKER));
|
|
345
345
|
if (markerIndex === -1) {
|
|
346
346
|
return `${body.trimEnd()}${attachmentMarkdown}\n`;
|
|
347
347
|
}
|
|
@@ -421,7 +421,7 @@ let IssueFormService = class IssueFormService extends Disposable {
|
|
|
421
421
|
if (this.isGitHubUrl(issueUrl) && !/\/issues\/new(?:[?#].*)?$/i.test(issueUrl)) {
|
|
422
422
|
issueUrl = `${normalizeGitHubUrl(issueUrl)}/issues/new`;
|
|
423
423
|
}
|
|
424
|
-
const queryStringPrefix = issueUrl.indexOf("?") === -1 ? "?" : "&";
|
|
424
|
+
const queryStringPrefix = ( issueUrl.indexOf("?")) === -1 ? "?" : "&";
|
|
425
425
|
return `${issueUrl}${queryStringPrefix}title=${encodeURIComponent(issueTitle)}`;
|
|
426
426
|
}
|
|
427
427
|
addTemplateToUrl(baseUrl, owner, repositoryName, issueSource) {
|
|
@@ -438,7 +438,7 @@ let IssueFormService = class IssueFormService extends Disposable {
|
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
440
|
dataUrlToBytes(dataUrl) {
|
|
441
|
-
const commaIndex = dataUrl.indexOf(",");
|
|
441
|
+
const commaIndex = ( dataUrl.indexOf(","));
|
|
442
442
|
if (commaIndex === -1) {
|
|
443
443
|
return undefined;
|
|
444
444
|
}
|