This is an automated email from the ASF dual-hosted git repository. linxinyuan pushed a commit to branch aglinxinyuan-patch-1 in repository https://gitbox.apache.org/repos/asf/texera.git
commit 2ef2d08388c5342314f4f65588989fdf260e9b8c Author: Xinyuan Lin <[email protected]> AuthorDate: Sat Dec 13 21:21:04 2025 -0800 Replace Apache License with MIT License header Signed-off-by: Xinyuan Lin <[email protected]> --- .../src/language-server-runner.ts | 25 ++++++---------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/pyright-language-service/src/language-server-runner.ts b/pyright-language-service/src/language-server-runner.ts index 9773c7cc8d..f4224b8621 100644 --- a/pyright-language-service/src/language-server-runner.ts +++ b/pyright-language-service/src/language-server-runner.ts @@ -1,21 +1,8 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +/* -------------------------------------------------------------------------------------------- + * Copyright (c) 2024 TypeFox and others. + * Licensed under the MIT License. See LICENSE in the package root for license information. + * ------------------------------------------------------------------------------------------ */ +// The source file can be referred to: https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/src/common/node/language-server-runner.ts import {WebSocketServer} from "ws"; import {Server} from 'node:http'; @@ -46,4 +33,4 @@ export const runLanguageServer = ( server: httpServer, wss }); -}; \ No newline at end of file +};
