mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 05:58:20 +00:00
debt - fix some JS compile errors (#178472)
* debt - fix some JS compile errors * simplify
This commit is contained in:
parent
d490dfe9f7
commit
3edcfeb381
2 changed files with 4 additions and 4 deletions
6
src/bootstrap-amd.js
vendored
6
src/bootstrap-amd.js
vendored
|
@ -51,9 +51,9 @@ if (nlsConfig && nlsConfig.pseudo) {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param {string} entrypoint
|
||||
* @param {(value: any) => void} onLoad
|
||||
* @param {(err: Error) => void} onError
|
||||
* @param {string=} entrypoint
|
||||
* @param {(value: any) => void=} onLoad
|
||||
* @param {(err: Error) => void=} onError
|
||||
*/
|
||||
exports.load = function (entrypoint, onLoad, onError) {
|
||||
if (!entrypoint) {
|
||||
|
|
|
@ -668,7 +668,7 @@ export class CodeApplication extends Disposable {
|
|||
private shouldBlockURI(uri: URI): boolean {
|
||||
if (uri.authority === Schemas.file && isWindows) {
|
||||
const { options, buttonIndeces } = massageMessageBoxOptions({
|
||||
type: 'question',
|
||||
type: 'warning',
|
||||
buttons: [
|
||||
localize({ key: 'open', comment: ['&& denotes a mnemonic'] }, "&&Yes"),
|
||||
localize({ key: 'cancel', comment: ['&& denotes a mnemonic'] }, "&&No")
|
||||
|
|
Loading…
Reference in a new issue