mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Merge branch 'master' into joh/eslint-rules
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
const withDefaults = require('../shared.webpack.config');
|
||||
const path = require('path');
|
||||
var webpack = require('webpack');
|
||||
const webpack = require('webpack');
|
||||
|
||||
const config = withDefaults({
|
||||
context: path.join(__dirname, 'client'),
|
||||
@@ -25,4 +25,4 @@ const config = withDefaults({
|
||||
// add plugin, don't replace inherited
|
||||
config.plugins.push(new webpack.IgnorePlugin(/vertx/)); // request-light dependency
|
||||
|
||||
module.exports = config;
|
||||
module.exports = config;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
const withDefaults = require('../../shared.webpack.config');
|
||||
const path = require('path');
|
||||
var webpack = require('webpack');
|
||||
const webpack = require('webpack');
|
||||
|
||||
const config = withDefaults({
|
||||
context: path.join(__dirname),
|
||||
|
||||
@@ -57,7 +57,7 @@ export function getMultiSelectedResources(resource: URI | object | undefined, li
|
||||
const list = listService.lastFocusedList;
|
||||
if (list?.getHTMLElement() === document.activeElement) {
|
||||
// Explorer
|
||||
if (list instanceof AsyncDataTree) {
|
||||
if (list instanceof AsyncDataTree && list.getFocus().every(item => item instanceof ExplorerItem)) {
|
||||
// Explorer
|
||||
const context = explorerService.getContext(true);
|
||||
if (context.length) {
|
||||
|
||||
Reference in New Issue
Block a user