chore: remove useless space

This commit is contained in:
代强 2024-03-04 19:24:19 +08:00
parent b0ed85689b
commit 552a1d4b44
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
import clc from 'cli-color';
import checkAuthToken from "../utils/checkAuthToken"
import checkAuthToken from '../utils/checkAuthToken';
import server from 'NeteaseCloudMusicApi/server';
export async function startNeteaseMusicApi() {

View File

@ -1,8 +1,8 @@
import os from 'os'
import fs from "fs"
import path from 'path'
import os from 'os';
import fs from 'fs';
import path from 'path';
// extract from NeteasyCloudMusicAPI/generateConfig.js and avoid bugs in there (generateConfig require main.js but the main.js has bugs)
if (!fs.existsSync(path.resolve(os.tmpdir(), 'anonymous_token'))) {
fs.writeFileSync(path.resolve(os.tmpdir(), 'anonymous_token'), '', 'utf-8')
}
fs.writeFileSync(path.resolve(os.tmpdir(), 'anonymous_token'), '', 'utf-8');
}