refactor: absolute imports with path alias (#2960) [skip ci]

This commit is contained in:
Ryan Cohen
2022-08-22 11:02:46 +09:00
committed by GitHub
parent 4b855b8114
commit c6a133d4e5
317 changed files with 1741 additions and 1665 deletions

View File

@@ -1,8 +1,8 @@
import logger from '@server/logger';
import axios from 'axios';
import fs, { promises as fsp } from 'fs';
import path from 'path';
import xml2js from 'xml2js';
import logger from '../logger';
const UPDATE_INTERVAL_MSEC = 24 * 3600 * 1000; // how often to download new mapping in milliseconds
// originally at https://raw.githubusercontent.com/ScudLee/anime-lists/master/anime-list.xml