We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
themePath
schemaDir
1 parent 2d6545f commit 49b2dfaCopy full SHA for 49b2dfa
jupyterlab/commands.py
@@ -2071,10 +2071,10 @@ def _validate_extension(data):
2071
if mime_extension and mime_extension not in files:
2072
messages.append('Missing mimeExtension module "%s"' % mime_extension)
2073
2074
- if themePath and not any(f.startswith(themePath) for f in files):
+ if themePath and not any(f.startswith(str(Path(themePath))) for f in files):
2075
messages.append('themePath is empty: "%s"' % themePath)
2076
2077
- if schemaDir and not any(f.startswith(schemaDir) for f in files):
+ if schemaDir and not any(f.startswith(str(Path(schemaDir))) for f in files):
2078
messages.append('schemaDir is empty: "%s"' % schemaDir)
2079
2080
return messages
0 commit comments