mirror of
https://github.com/wassname/talk.git
synced 2026-09-12 13:01:11 +08:00
Resolve linter issues
This commit is contained in:
@@ -27,7 +27,7 @@ const processUpdates = async (model, updates) => {
|
||||
const debugProcessStatistics = (count, totalCount) => {
|
||||
if (totalCount > 0) {
|
||||
debug(
|
||||
`processed ${(count / totalCount * 100).toFixed(
|
||||
`processed ${((count / totalCount) * 100).toFixed(
|
||||
2
|
||||
)}% (${count}/${totalCount}) updates`
|
||||
);
|
||||
|
||||
@@ -7,7 +7,11 @@ const debug = require('debug')('talk:services:migration');
|
||||
const sc = require('snake-case');
|
||||
const helpers = require('./helpers');
|
||||
const { stripIndent } = require('common-tags');
|
||||
const { talk: { migration: { minVersion } } } = require('../../package.json');
|
||||
const {
|
||||
talk: {
|
||||
migration: { minVersion },
|
||||
},
|
||||
} = require('../../package.json');
|
||||
|
||||
const migrationTemplate = stripIndent`
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user