mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-02-23 15:23:10 +08:00
chore: remove useless space
This commit is contained in:
parent
b0ed85689b
commit
552a1d4b44
src
@ -1,5 +1,5 @@
|
|||||||
import clc from 'cli-color';
|
import clc from 'cli-color';
|
||||||
import checkAuthToken from "../utils/checkAuthToken"
|
import checkAuthToken from '../utils/checkAuthToken';
|
||||||
import server from 'NeteaseCloudMusicApi/server';
|
import server from 'NeteaseCloudMusicApi/server';
|
||||||
|
|
||||||
export async function startNeteaseMusicApi() {
|
export async function startNeteaseMusicApi() {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import os from 'os'
|
import os from 'os';
|
||||||
import fs from "fs"
|
import fs from 'fs';
|
||||||
import path from 'path'
|
import path from 'path';
|
||||||
|
|
||||||
// extract from NeteasyCloudMusicAPI/generateConfig.js and avoid bugs in there (generateConfig require main.js but the main.js has bugs)
|
// 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'))) {
|
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…
x
Reference in New Issue
Block a user