mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-01-31 07:21:44 +08:00
chore: remove useless space
This commit is contained in:
parent
b0ed85689b
commit
552a1d4b44
|
@ -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() {
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user