Skip to content

Commit 30d3c01

Browse files
committed
⚒ trivial fix
1 parent 906fae0 commit 30d3c01

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

docs/.vuepress/config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ module.exports = {
4848
module: {
4949
rules: [
5050
{
51-
test: new RegExp(
52-
String.raw`internal[\\/]get-linters\.js$`,
53-
"u"
54-
),
51+
test: /internal[\\/]get-linters\.js$/u,
5552
loader: "string-replace-loader",
5653
options: {
5754
search: "[\\s\\S]+", // whole file.

scripts/deploy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const DEPLOY_ROOT = path.resolve(__dirname, "..")
1010
/**
1111
* Execute a command.
1212
* @param {string} command The command to execute.
13-
* @returns {void}
13+
* @returns {Promise<void>}
1414
*/
1515
function exec(command) {
1616
console.log(`> ${command.replace(GH_TOKEN, "****")}`)
@@ -52,7 +52,7 @@ function exec(command) {
5252
}
5353

5454
// Commit.
55-
await exec('git config --global user.email "[email protected]"')
55+
await exec('git config --global user.email "[email protected]"')
5656
await exec('git config --global user.name "Toru Nagashima"')
5757
await exec("git add -A")
5858
let updated = false

0 commit comments

Comments
 (0)