mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 05:07:41 +02:00
fix small issues
This commit is contained in:
@ -6,7 +6,7 @@ const locPath = './src/localization/languages'
|
||||
|
||||
let loc = {}
|
||||
|
||||
export async function loadLoc() {
|
||||
export function loadLoc() {
|
||||
fs.readdir(locPath, (err, files) => {
|
||||
files.forEach(file => {
|
||||
loc[file.split('.')[0]] = loadJson(`${locPath}/${file}`)
|
||||
|
Reference in New Issue
Block a user