Skip to content

Commit

Permalink
ci: wrong trigger branch (#2)
Browse files Browse the repository at this point in the history
* ci: wrong trigger branch

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
zzxming and autofix-ci[bot] authored Dec 20, 2024
1 parent 40f1cf9 commit 269ec98
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: autofix.ci
on:
push:
branches:
- master
- main

pull_request:
branches:
- master
- main

merge_group: {}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: GitHub Pages
on:
push:
branches:
- master
- main
workflow_dispatch: {}

permissions:
Expand Down
14 changes: 7 additions & 7 deletions src/header.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import type TypeHeader from 'quill/formats/header'
import Quill from 'quill'
import { randomID } from './utils'
import type TypeHeader from 'quill/formats/header';
import Quill from 'quill';
import { randomID } from './utils';

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

export class HeaderWithID extends Header {
static create(value: any) {
const node = super.create(value)
node.id = randomID()
return node
const node = super.create(value);
node.id = randomID();
return node;
}
}

0 comments on commit 269ec98

Please sign in to comment.