chore: Improve formatting

master
root 2022-02-25 04:48:23 +01:00
parent 673db7a2e7
commit 8d105f07bc
3 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
import File from './file';
import File from "./file";
interface Pack {
name: string;

View File

@ -2,10 +2,10 @@ import Pack from "../interfaces/pack";
import File from "../interfaces/file";
import fs from "fs";
import * as fsWalk from "@nodelib/fs.walk";
import os from 'os';
import os from "os";
import { resolve } from "path/posix";
const PACK_BASE_PATH =`${os.homedir()}/beatpacks`;
const PACK_BASE_PATH = `${os.homedir()}/beatpacks`;
export default class PackService {
private static packList: Pack[] = [];
@ -38,7 +38,7 @@ export default class PackService {
packFiles.map(async (file) => {
files.push({
path: file.path,
name: file.name
name: file.name,
});
if (file.name === "bpm.txt") {