refactor: write file
This commit is contained in:
parent
ec5e9b83d0
commit
14dca6a8ae
|
@ -2,13 +2,12 @@ import {
|
||||||
mkdir,
|
mkdir,
|
||||||
readFile,
|
readFile,
|
||||||
stat,
|
stat,
|
||||||
writeFile,
|
|
||||||
} from 'fs/promises';
|
} from 'fs/promises';
|
||||||
import {join} from 'path';
|
import {join} from 'path';
|
||||||
|
|
||||||
import {createLoop, destroyLoop} from '@avocado/timing/server';
|
import {createLoop, destroyLoop} from '@avocado/timing/server';
|
||||||
import {D} from '@flecks/core';
|
import {D} from '@flecks/core';
|
||||||
import {glob} from '@flecks/core/server';
|
import {glob, writeFile} from '@flecks/core/server';
|
||||||
|
|
||||||
import createPlayerEntity from '../gen/player-entity';
|
import createPlayerEntity from '../gen/player-entity';
|
||||||
import createPlayerRoom from '../gen/player-room';
|
import createPlayerRoom from '../gen/player-room';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user