Skip to content

Commit a0005d2

Browse files
committed
style: npm run fmt
1 parent b6f57a2 commit a0005d2

File tree

4 files changed

+22
-21
lines changed

4 files changed

+22
-21
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
# The branches below must be a subset of the branches above
1313
branches: [main]
1414
schedule:
15-
- cron: '0 6 * * 2'
15+
- cron: "0 6 * * 2"
1616

1717
jobs:
1818
analyze:
@@ -24,23 +24,23 @@ jobs:
2424
matrix:
2525
# Override automatic language detection by changing the below list
2626
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
27-
language: ['javascript']
27+
language: ["javascript"]
2828
# Learn more...
2929
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
3030

3131
steps:
32-
- name: Checkout repository
33-
uses: actions/checkout@v2
32+
- name: Checkout repository
33+
uses: actions/checkout@v2
3434

35-
# Initializes the CodeQL tools for scanning.
36-
- name: Initialize CodeQL
37-
uses: github/codeql-action/init@v1
38-
with:
39-
languages: ${{ matrix.language }}
40-
# If you wish to specify custom queries, you can do so here or in a config file.
41-
# By default, queries listed here will override any specified in a config file.
42-
# Prefix the list here with "+" to use these queries and those in the config file.
43-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
35+
# Initializes the CodeQL tools for scanning.
36+
- name: Initialize CodeQL
37+
uses: github/codeql-action/init@v1
38+
with:
39+
languages: ${{ matrix.language }}
40+
# If you wish to specify custom queries, you can do so here or in a config file.
41+
# By default, queries listed here will override any specified in a config file.
42+
# Prefix the list here with "+" to use these queries and those in the config file.
43+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
4444

45-
- name: Perform CodeQL Analysis
46-
uses: github/codeql-action/analyze@v1
45+
- name: Perform CodeQL Analysis
46+
uses: github/codeql-action/analyze@v1

.github/workflows/sync-labels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
branches:
77
- main
88
paths:
9-
- '.github/sync-labels.yml'
10-
- '.github/workflows/sync-labels.yml'
9+
- ".github/sync-labels.yml"
10+
- ".github/workflows/sync-labels.yml"
1111

1212
jobs:
1313
labeler:
@@ -17,6 +17,6 @@ jobs:
1717
- uses: crazy-max/ghaction-github-labeler@v3.0.0
1818
with:
1919
github-token: ${{ secrets.GITHUB_TOKEN }}
20-
yaml-file: '.github/sync-labels.yml'
20+
yaml-file: ".github/sync-labels.yml"
2121
skip-delete: false
2222
dry-run: false

src/search.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ describe("search()", () => {
144144
categories: ["Bootstrap"],
145145
tags: ["bootstrap"],
146146
svg: {
147-
raw: "\"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" fill=\\\"currentColor\\\" class=\\\"bi bi-bootstrap-reboot\\\" viewBox=\\\"0 0 16 16\\\">\\n <path d=\\\"M1.161 8a6.84 6.84 0 1 0 6.842-6.84.58.58 0 1 1 0-1.16 8 8 0 1 1-6.556 3.412l-.663-.577a.58.58 0 0 1 .227-.997l2.52-.69a.58.58 0 0 1 .728.633l-.332 2.592a.58.58 0 0 1-.956.364l-.643-.56A6.812 6.812 0 0 0 1.16 8z\\\"/>\\n <path d=\\\"M6.641 11.671V8.843h1.57l1.498 2.828h1.314L9.377 8.665c.897-.3 1.427-1.106 1.427-2.1 0-1.37-.943-2.246-2.456-2.246H5.5v7.352h1.141zm0-3.75V5.277h1.57c.881 0 1.416.499 1.416 1.32 0 .84-.504 1.324-1.386 1.324h-1.6z\\\"/>\\n</svg>\"",
147+
raw:
148+
'"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"16\\" height=\\"16\\" fill=\\"currentColor\\" class=\\"bi bi-bootstrap-reboot\\" viewBox=\\"0 0 16 16\\">\\n <path d=\\"M1.161 8a6.84 6.84 0 1 0 6.842-6.84.58.58 0 1 1 0-1.16 8 8 0 1 1-6.556 3.412l-.663-.577a.58.58 0 0 1 .227-.997l2.52-.69a.58.58 0 0 1 .728.633l-.332 2.592a.58.58 0 0 1-.956.364l-.643-.56A6.812 6.812 0 0 0 1.16 8z\\"/>\\n <path d=\\"M6.641 11.671V8.843h1.57l1.498 2.828h1.314L9.377 8.665c.897-.3 1.427-1.106 1.427-2.1 0-1.37-.943-2.246-2.456-2.246H5.5v7.352h1.141zm0-3.75V5.277h1.57c.881 0 1.416.499 1.416 1.32 0 .84-.504 1.324-1.386 1.324h-1.6z\\"/>\\n</svg>"',
148149
},
149150
},
150151
refIndex: 166,

utils/converters/composite.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import path from "path";
55
// eslint-disable-next-line
66
const sharp = require("sharp");
77
// eslint-disable-next-line
8-
const imagemin = require('imagemin');
8+
const imagemin = require("imagemin");
99
// eslint-disable-next-line
10-
const imageminPngquant = require('imagemin-pngquant');
10+
const imageminPngquant = require("imagemin-pngquant");
1111

1212
const outputDir = "./assets/icons";
1313
const outputPaths = fg.sync(`${outputDir}/*.png`);

0 commit comments

Comments
 (0)