Skip to content

Commit 269ec98

Browse files
ci: wrong trigger branch (#2)
* ci: wrong trigger branch * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 40f1cf9 commit 269ec98

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/autofix.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: autofix.ci
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
pull_request:
99
branches:
10-
- master
10+
- main
1111

1212
merge_group: {}
1313

.github/workflows/deploy-doc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: GitHub Pages
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
workflow_dispatch: {}
77

88
permissions:

src/header.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import type TypeHeader from 'quill/formats/header'
2-
import Quill from 'quill'
3-
import { randomID } from './utils'
1+
import type TypeHeader from 'quill/formats/header';
2+
import Quill from 'quill';
3+
import { randomID } from './utils';
44

5-
const Header = Quill.import('formats/header') as typeof TypeHeader
5+
const Header = Quill.import('formats/header') as typeof TypeHeader;
66

77
export class HeaderWithID extends Header {
88
static create(value: any) {
9-
const node = super.create(value)
10-
node.id = randomID()
11-
return node
9+
const node = super.create(value);
10+
node.id = randomID();
11+
return node;
1212
}
1313
}

0 commit comments

Comments
 (0)