Skip to content

Commit 77a452c

Browse files
committed
Do not create GitHub issue
#795 (comment)
1 parent c7c76bf commit 77a452c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

lib/script-view.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,20 @@ export default class ScriptView extends MessagePanelView {
104104
}
105105

106106
createGitHubIssueLink(argType, lang) {
107-
const title = `Add ${argType} support for ${lang}`;
108-
const body = `##### Platform: \`${process.platform}\`\n---\n`;
109-
let encodedURI = encodeURI(`https://github.com/rgbkrk/atom-script/issues/new?title=${title}&body=${body}`);
110-
// NOTE: Replace "#" after regular encoding so we don't double escape it.
111-
encodedURI = encodedURI.replace(/#/g, '%23');
107+
// const title = `Add ${argType} support for ${lang}`;
108+
// const body = `##### Platform: \`${process.platform}\`\n---\n`;
109+
// let encodedURI = encodeURI(`https://github.com/rgbkrk/atom-script/issues/new?title=${title}&body=${body}`);
110+
// // NOTE: Replace "#" after regular encoding so we don't double escape it.
111+
// encodedURI = encodedURI.replace(/#/g, '%23');
112112

113113
const err = $$(function () {
114114
this.p({ class: 'block' }, `${argType} runner not available for ${lang}.`);
115-
this.p({ class: 'block' }, () => {
116-
this.text('If it should exist, add an ');
117-
this.a({ href: encodedURI }, 'issue on GitHub');
118-
this.text(', or send your own pull request.');
119-
},
120-
);
115+
// this.p({ class: 'block' }, () => {
116+
// this.text('If it should exist, add an ');
117+
// this.a({ href: encodedURI }, 'issue on GitHub');
118+
// this.text(', or send your own pull request.');
119+
// },
120+
// );
121121
});
122122
this.handleError(err);
123123
}

0 commit comments

Comments
 (0)