jupyterlab_vscode_icons_extension 1.1.27 → 1.1.29
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/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -6
package/lib/index.js
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -328,7 +328,7 @@ const fileTypeConfigs: IFileTypeConfig[] = [
|
|
|
328
328
|
group: 'enableConfigIcons'
|
|
329
329
|
},
|
|
330
330
|
{
|
|
331
|
-
pattern: '^requirements
|
|
331
|
+
pattern: '^requirements([_-].*?)?\\.txt$',
|
|
332
332
|
extensions: [],
|
|
333
333
|
iconName: 'file-type-python',
|
|
334
334
|
group: 'enableConfigIcons'
|
|
@@ -838,11 +838,7 @@ const plugin: JupyterFrontEndPlugin<void> = {
|
|
|
838
838
|
|
|
839
839
|
try {
|
|
840
840
|
const baseUrl = PageConfig.getBaseUrl();
|
|
841
|
-
const apiUrl = URLExt.join(
|
|
842
|
-
baseUrl,
|
|
843
|
-
'vscode-icons',
|
|
844
|
-
'executables'
|
|
845
|
-
);
|
|
841
|
+
const apiUrl = URLExt.join(baseUrl, 'vscode-icons', 'executables');
|
|
846
842
|
const response = await fetch(
|
|
847
843
|
`${apiUrl}?path=${encodeURIComponent(currentPath)}`
|
|
848
844
|
);
|