Skip to content

Commit 4acfa26

Browse files
authored
chore: add the ASF header to the renderer-loss recovery files (#3504)
#3495 branched before #3397 landed, so its two new files arrived without the ASF header and its CI predates the `audit` job. `check:asf-headers` runs in `ci.yml`, so main is currently failing that check and every open PR inherits the failure. `npm run write:asf-headers` produced this; nothing else was touched. Generated-by: Claude Code
1 parent 9a661a1 commit 4acfa26

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

apps/desktop/src/main/__tests__/main-renderer-process-gone.test.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
import assert from 'node:assert/strict';
221
import { EventEmitter } from 'node:events';
322
import { test } from 'node:test';

apps/desktop/src/main/main-renderer-process-gone.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
import type { RenderProcessGoneDetails } from 'electron';
221

322
interface RenderProcessGoneSource {

0 commit comments

Comments
 (0)