Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build tooling, packages #113

Open
7 tasks
tillig opened this issue Oct 29, 2021 · 0 comments
Open
7 tasks

Update build tooling, packages #113

tillig opened this issue Oct 29, 2021 · 0 comments
Assignees

Comments

@tillig
Copy link
Contributor

tillig commented Oct 29, 2021

Chore summary

The build tooling - Yarn version, general package/engine versions - are all getting somewhat stale and need to be updated.

Tasks

  • Update to Yarn 2
  • Update the minimum Node engine to 14+ (latest VS Code runs 14.16.0)
  • Update VS Code minimum engine to something more recent
  • Update devDependencies as possible
  • Latest TypeScript
  • Latest ESLint
  • Fix issues with UnhandledPromiseRejectionWarning in the build, possibly switch to gulp for build.

Additional context

Honestly, I set out to update the Spectral version but I'm not a yarn user so I started learning that, which then ran me into the fact this project appears to still be using yarn 1 and I was getting a lot of deprecation-related warnings. So then I tried updating to yarn 2 and noticed that in the make.js there was some historical commit messages around making sure things are still Dependabot compatible because of the way yarn workspaces work and...

...well, I got overwhelmed. I learned a lot in the couple hours in which I tried to get this working, but I get the feeling there are things done in a certain way due to gotchas in yarn that I'm unfamiliar with.

I found that, at least on my Mac, the end-to-end tests don't pass. I get the feeling it's because of some stale bits, but... I don't know. If the build tooling and various dependency packages could be updated to something newer, it would be easier to rule that out and contribute updates.

Here's what I get when I do yarn after initial checkout:

Initial `yarn` run (click to expand)
yarn install v1.22.17
[1/5] 🔍  Validating package.json...
warning [email protected]: The engine "vscode" appears to be invalid.
[2/5] 🔍  Resolving packages...
[3/5] 🚚  Fetching packages...
warning [email protected]: The engine "vscode" appears to be invalid.
warning [email protected]: The engine "vscode" appears to be invalid.
warning [email protected]: The engine "vscode" appears to be invalid.
[4/5] 🔗  Linking dependencies...
[5/5] 🔨  Building fresh packages...
✨  Done in 7.02s.

I'm not sure if I should be concerned about the engine warning there.

A run of node make.js allDev has several warnings in it, including things like certain TypeScript packages no longer being valid and unhandled promise issues when tests fail.

`node make.js allDev` (click to expand)
------------------------------------------------------------
Target: AllDev
------------------------------------------------------------
Backing up "package.json" to "/Users/tillig/dev/tillig/stoplightio-vscode-spectral/package.json.1635536033"
Temporarily patching "package.json" version from "0.2.5" to "0.2.1635536034-dev.0"

------------------------------------------------------------
Target: Package
------------------------------------------------------------

------------------------------------------------------------
Target: BuildAll
------------------------------------------------------------

------------------------------------------------------------
Target: Clean
------------------------------------------------------------

> yarn clean
yarn run v1.22.17
warning [email protected]: The engine "vscode" appears to be invalid.
$ rimraf .dist && rimraf "client/*(out|wbpkd)" && rimraf "server/*(out|wbpkd)"
✨  Done in 0.42s.

------------------------------------------------------------
Target: Compile
------------------------------------------------------------

> yarn
yarn install v1.22.17
[1/5] 🔍  Validating package.json...
warning [email protected]: The engine "vscode" appears to be invalid.
[2/5] 🔍  Resolving packages...
success Already up-to-date.
✨  Done in 0.33s.

> yarn lint
yarn run v1.22.17
warning [email protected]: The engine "vscode" appears to be invalid.
$ eslint --ext .ts,.js .
=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.1.0

YOUR TYPESCRIPT VERSION: 4.1.3

Please only submit bug reports when using the officially supported version.

=============
(node:31689) [ESLINT_PERSONAL_CONFIG_SUPPRESS] DeprecationWarning: '~/.eslintrc.*' config files have been deprecated. Please remove it or add 'root:true' to the config files in your projects in order to avoid loading '~/.eslintrc.*' accidentally. (found in "../../../.eslintrc")
✨  Done in 1.60s.

> yarn compile
yarn run v1.22.17
warning [email protected]: The engine "vscode" appears to be invalid.
$ tsc -p client && tsc -p server && yarn copyfiles -u 2 "./client/src/**/*.{json,yaml,snap}" ./client/out/
warning [email protected]: The engine "vscode" appears to be invalid.
$ /Users/tillig/dev/tillig/stoplightio-vscode-spectral/node_modules/.bin/copyfiles -u 2 './client/src/**/*.{json,yaml,snap}' ./client/out/
✨  Done in 5.51s.

------------------------------------------------------------
Target: Test
------------------------------------------------------------

> yarn test
yarn run v1.22.17
warning [email protected]: The engine "vscode" appears to be invalid.
$ mocha -r ts-node/register "./+(client|server)/test/unit/**/*.test.ts"


  makeDiagnostic
    ✓ sets the source to spectral
    ✓ converts Spectral severity to VSCode severity (0 => 1)
    ✓ converts Spectral severity to VSCode severity (1 => 2)
    ✓ converts Spectral severity to VSCode severity (2 => 3)
    ✓ converts Spectral severity to VSCode severity (3 => 4)

  makePublishDiagnosticsParams
    ✓ groups linting results per source
    returns an empty array of diagnostics for the root file being analyzed even when it has no issues
      ✓ file:///c%3A/folder/test.txt
      ✓ file:///home/folder/test.txt
    returns an empty array of diagnostics for the file being analyzed and its root even when they have no issues
      ✓ file:///c%3A/folder/test.txt
      ✓ file:///home/folder/test.txt


  10 passing (9ms)

✨  Done in 1.89s.

------------------------------------------------------------
Target: PrePublish
------------------------------------------------------------

> node node_modules/webpack-cli/bin/cli.js --mode production --config ./client/webpack.config.js
Hash: 80dcd731b96c879b0d2d
Version: webpack 4.44.1
Time: 2417ms
Built at: 10/29/2021 12:34:07 PM
         Asset     Size  Chunks                   Chunk Names
    ./index.js  187 KiB       0  [emitted]        extension
./index.js.map  238 KiB       0  [emitted] [dev]  extension
Entrypoint extension = ./index.js ./index.js.map
 [0] external "vscode" 42 bytes {0} [built]
 [8] external "path" 42 bytes {0} [built]
[12] external "child_process" 42 bytes {0} [built]
[13] external "net" 42 bytes {0} [built]
[19] ./out/extension.js 5.51 KiB {0} [built]
[20] external "fs" 42 bytes {0} [built]
[26] external "os" 42 bytes {0} [built]
[27] external "crypto" 42 bytes {0} [built]
[58] ./out/notifications.js 511 bytes {0} [built]
    + 50 hidden modules
Generating package tree structure in "/Users/tillig/dev/tillig/stoplightio-vscode-spectral/.dist"
Removing workspaces from "/Users/tillig/dev/tillig/stoplightio-vscode-spectral/.dist/package.json"
/Users/tillig/dev/tillig/stoplightio-vscode-spectral/.dist /Users/tillig/dev/tillig/stoplightio-vscode-spectral

> yarn install
yarn install v1.22.17
[1/5] 🔍  Validating package.json...
warning [email protected]: The engine "vscode" appears to be invalid.
[2/5] 🔍  Resolving packages...
[3/5] 🚚  Fetching packages...
[4/5] 🔗  Linking dependencies...
[5/5] 🔨  Building fresh packages...
success Saved lockfile.
✨  Done in 5.71s.
/Users/tillig/dev/tillig/stoplightio-vscode-spectral
/Users/tillig/dev/tillig/stoplightio-vscode-spectral/.dist/server /Users/tillig/dev/tillig/stoplightio-vscode-spectral

> yarn --offline --production
yarn install v1.22.17
[1/6] 🔍  Validating package.json...
[2/6] 🔍  Resolving packages...
[3/6] 🚚  Fetching packages...
[4/6] 🔗  Linking dependencies...
[5/6] 🔨  Building fresh packages...
[6/6] ♻️  Cleaning modules...
success Saved lockfile.
✨  Done in 1.84s.
/Users/tillig/dev/tillig/stoplightio-vscode-spectral

> yarn rimraf server/node_modules/decimal.js/decimal.mjs
yarn run v1.22.17
warning [email protected]: The engine "vscode" appears to be invalid.
$ /Users/tillig/dev/tillig/stoplightio-vscode-spectral/node_modules/.bin/rimraf server/node_modules/decimal.js/decimal.mjs
✨  Done in 0.24s.
Using webpack to identify the list of modules used by the server.

> node node_modules/webpack-cli/bin/cli.js --config ./server/webpack.config.js --profile --json > /Users/tillig/dev/tillig/stoplightio-vscode-spectral/artifacts/server-modules.json
Extracting the list of modules used by the server.
Generating potential .vscodeignore items for server.
/Users/tillig/dev/tillig/stoplightio-vscode-spectral/.dist /Users/tillig/dev/tillig/stoplightio-vscode-spectral

> yarn vsce package -o /Users/tillig/dev/tillig/stoplightio-vscode-spectral/artifacts
yarn run v1.22.17
warning [email protected]: The engine "vscode" appears to be invalid.
$ /Users/tillig/dev/tillig/stoplightio-vscode-spectral/.dist/node_modules/.bin/vsce package -o /Users/tillig/dev/tillig/stoplightio-vscode-spectral/artifacts
This extension consists of 2841 files, out of which 2513 are JavaScript files. For performance reasons, you should bundle your extension: https://aka.ms/vscode-bundle-extension . You should also exclude unnecessary files by adding them to your .vscodeignore: https://aka.ms/vscode-vscodeignore
 DONE  Packaged: /Users/tillig/dev/tillig/stoplightio-vscode-spectral/artifacts/spectral-0.2.1635536034-dev.0.vsix (2841 files, 2.78MB)
 INFO
The latest version of vsce is 1.100.2 and you have 1.79.5.
Update it now: npm install -g vsce
✨  Done in 5.94s.
/Users/tillig/dev/tillig/stoplightio-vscode-spectral
Restoring original "package.json" file
Removing temporary backup "/Users/tillig/dev/tillig/stoplightio-vscode-spectral/package.json.1635536033" file

------------------------------------------------------------
Target: e2e tests
------------------------------------------------------------

> yarn test:e2e
yarn run v1.22.17
warning [email protected]: The engine "vscode" appears to be invalid.
$ cross-env CI=true CHAI_JEST_SNAPSHOT_UPDATE_ALL=false node ./client/out/test/e2e/index.js
Loading extension from '/Users/tillig/dev/tillig/stoplightio-vscode-spectral/.dist'
Downloading VS Code 1.48.0 from https://update.code.visualstudio.com/1.48.0/darwin/stable: complete
Downloaded VS Code 1.48.0 into .vscode-test/vscode-darwin-1.48.0
Using VSCode from '/Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/MacOS/Electron'
Using test runner from '/Users/tillig/dev/tillig/stoplightio-vscode-spectral/client/out/test/e2e/contexts/no_workspace_no_ruleset/configuration'
Using workspace 'blank_a9422483fc608f06'
Using launchArgs: ["blank_a9422483fc608f06","--disable-extensions"]
Warning: 'sandbox' is not in the list of known options, but still passed to Electron/Chromium.

[main 2021-10-29T19:34:43.944Z] update#setState idle

The argument '-ilc' is not recognized as the name of a script file. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

(node:31897) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https:/electron/electron/issues/18397 for more information

(node:31897) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https:/electron/electron/issues/18397 for more information

(node:31897) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https:/electron/electron/issues/18397 for more information

(node:31897) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https:/electron/electron/issues/18397 for more information

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at L.onResourceEditorOpening (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4613:34)
    at L.onEditorOpening (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:904)
    at Object.open (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4611:732)
    at F.onGroupWillOpenEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:11)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:187
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:25)
    at e.openEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6450:923)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6220:213
    at Map.forEach (<anonymous>)
    at F.openEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6220:188)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6522:461
    at async Promise.all (index 0)
    at async O.restoreWorkbenchLayout (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6523:982)
    at async O.restoreWorkbench (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6593:445)
    at async file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6589:530

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at A.updateContexts (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4609:543)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4604:988
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at F.doHandleActiveEditorChangeEvent (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:898)
    at F.handleActiveEditorChange (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:696)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:19
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async e.openEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6450:912)
    at async Promise.all (index 0)
    at async F.openEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6220:242)
    at async file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6522:436
    at async Promise.all (index 0)
    at async O.restoreWorkbenchLayout (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6523:982)
    at async O.restoreWorkbench (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6593:445)
    at async file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6589:530

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at Object.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:303)
    at F.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6217:751)
    at C.updateEditorContextKeys (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5965:321)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5962:530
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at F.doHandleActiveEditorChangeEvent (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:898)
    at F.handleActiveEditorChange (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:696)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:19
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async e.openEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6450:912)
    at async Promise.all (index 0)
    at async F.openEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6220:242)
    at async file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6522:436
    at async Promise.all (index 0)
    at async O.restoreWorkbenchLayout (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6523:982)
    at async O.restoreWorkbench (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6593:445)
    at async file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6589:530

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at Object.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:303)
    at F.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6217:751)
    at C.updateEditorContextKeys (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5965:321)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5962:627
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:79
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async e.openEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6450:912)
    at async Promise.all (index 0)
    at async F.openEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6220:242)
    at async file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6522:436
    at async Promise.all (index 0)
    at async O.restoreWorkbenchLayout (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6523:982)
    at async O.restoreWorkbench (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6593:445)
    at async file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6589:530

(node:31897) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https:/electron/electron/issues/18397 for more information

(node:31897) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https:/electron/electron/issues/18397 for more information

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at A.updateContexts (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4609:543)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4604:773
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at d.update (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4602:909)
    at u._handler (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4602:460)
    at u._handle (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4030:866)
    at u.acceptUsers (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4030:773)
    at Function._handleExtensionPoint (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4365:776)
    at V._doHandleExtensionPoints (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4364:847)
    at V._startLocalExtensionHost (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5103:208)
    at V._scanAndHandleExtensions (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5102:357)
    at async V._initialize (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4360:706)

Enlisting test file '/Users/tillig/dev/tillig/stoplightio-vscode-spectral/client/out/test/e2e/contexts/no_workspace_no_ruleset/run.e2e.test.js'



Extension 'stoplight.spectral' v0.2.1635536034-dev.0 has been successfully activated.

(node:31907) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https:/electron/electron/issues/18397 for more information

(node:31907) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https:/electron/electron/issues/18397 for more information

  No workspace, no ruleset

    Output channel

      1) Contains Spectral version

    No diagnostics for empty files

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at A.updateContexts (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4609:543)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4604:988
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at F.doHandleActiveEditorChangeEvent (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:898)
    at F.handleActiveEditorChange (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:696)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:19
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at Object.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:303)
    at F.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6217:751)
    at C.updateEditorContextKeys (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5965:321)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5962:530
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at F.doHandleActiveEditorChangeEvent (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:898)
    at F.handleActiveEditorChange (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:696)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:19
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at Object.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:303)
    at F.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6217:751)
    at C.updateEditorContextKeys (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5965:321)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5962:627
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:79
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

      ✓ empty.yaml (2064ms)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at A.updateContexts (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4609:543)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4604:988
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at F.doHandleActiveEditorChangeEvent (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:898)
    at F.handleActiveEditorChange (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:696)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:19
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at Object.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:303)
    at F.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6217:751)
    at C.updateEditorContextKeys (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5965:321)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5962:530
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at F.doHandleActiveEditorChangeEvent (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:898)
    at F.handleActiveEditorChange (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:696)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:19
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at Object.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:303)
    at F.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6217:751)
    at C.updateEditorContextKeys (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5965:321)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5962:627
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:79
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

      ✓ empty.json (2357ms)

    No diagnostics for valid files

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at A.updateContexts (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4609:543)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4604:988
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at F.doHandleActiveEditorChangeEvent (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:898)
    at F.handleActiveEditorChange (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:696)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:19
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at Object.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:303)
    at F.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6217:751)
    at C.updateEditorContextKeys (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5965:321)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5962:530
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at F.doHandleActiveEditorChangeEvent (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:898)
    at F.handleActiveEditorChange (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:696)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:19
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at Object.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:303)
    at F.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6217:751)
    at C.updateEditorContextKeys (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5965:321)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5962:627
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:79
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

      ✓ simple.yaml (2033ms)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at A.updateContexts (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4609:543)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4604:988
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at F.doHandleActiveEditorChangeEvent (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:898)
    at F.handleActiveEditorChange (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:696)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:19
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at Object.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:303)
    at F.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6217:751)
    at C.updateEditorContextKeys (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5965:321)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5962:530
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at F.doHandleActiveEditorChangeEvent (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:898)
    at F.handleActiveEditorChange (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:696)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:19
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at Object.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:303)
    at F.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6217:751)
    at C.updateEditorContextKeys (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5965:321)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5962:627
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:79
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

      ✓ simple.json (2031ms)

    Invalid files trigger generation of diagnostics

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at A.updateContexts (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4609:543)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4604:988
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at F.doHandleActiveEditorChangeEvent (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:898)
    at F.handleActiveEditorChange (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:696)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:19
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at Object.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:303)
    at F.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6217:751)
    at C.updateEditorContextKeys (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5965:321)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5962:530
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at F.doHandleActiveEditorChangeEvent (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:898)
    at F.handleActiveEditorChange (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:696)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:19
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at Object.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:303)
    at F.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6217:751)
    at C.updateEditorContextKeys (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5965:321)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5962:627
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:79
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

      ✓ simple.yaml (2030ms)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at A.updateContexts (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4609:543)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4604:988
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at F.doHandleActiveEditorChangeEvent (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:898)
    at F.handleActiveEditorChange (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:696)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:19
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at Object.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:303)
    at F.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6217:751)
    at C.updateEditorContextKeys (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5965:321)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5962:530
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at F.doHandleActiveEditorChangeEvent (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:898)
    at F.handleActiveEditorChange (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6212:696)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:19
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

t.filter is not a function: TypeError: t.filter is not a function
    at A.getUserConfiguredCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4605:902)
    at A.getAllCustomEditors (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4606:73)
    at Object.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4612:303)
    at F.getEditorOverrides (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6217:751)
    at C.updateEditorContextKeys (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5965:321)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5962:627
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6213:79
    at c.fire (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:95:801)
    at file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6449:665
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async e.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6448:121)
    at async F.openEditor (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6218:289)
    at async e.$tryShowTextDocument (file:///Users/tillig/dev/tillig/stoplightio-vscode-spectral/.vscode-test/vscode-darwin-1.48.0/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5949:532)

      ✓ simple.json (2036ms)

  6 passing (17s)

  1 failing

  1) No workspace, no ruleset
       Output channel
         Contains Spectral version:
     AssertionError: expected '[Info  - 12:34:46 PM] Spectral v5.8.0[useNimma=true] server running (Node.js v12.8.1)\nFile untitled:/Users/tillig/dev/tillig/stoplightio-vscode-spectral/blank_a9422483fc608f06 (plaintext) doesn\'t match any of the specified language types; skipping.\n' to include 'Spectral v5.5.0[useNimma=true] server running (Node.js v12.'
  	at Context.<anonymous> (client/out/test/e2e/contexts/no_workspace_no_ruleset/run.e2e.test.js:21:39)


Error: 1 tests failed.

Exit code:   1
Done

Failed to run tests: Failed
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,,
(node:31681) UnhandledPromiseRejectionWarning: Error: Command failed: yarn test:e2e
    at checkExecSyncError (child_process.js:621:11)
    at Object.execSync (child_process.js:657:15)
    at run (/Users/tillig/dev/tillig/stoplightio-vscode-spectral/make.js:140:18)
    at e2e (/Users/tillig/dev/tillig/stoplightio-vscode-spectral/make.js:104:3)
    at AsyncFunction.target.allDev (/Users/tillig/dev/tillig/stoplightio-vscode-spectral/make.js:30:3)
(node:31681) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:31681) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Since I originally started working on the first version of this plugin, I've actually learned a lot about JavaScript and builds and I've somewhat moved to gulp for builds. Unclear if that's interesting, but it seems to handle Promises and async/await a little nicer than the make.js thing did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants