mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(legacy) _dir -> dir_
This commit is contained in:
parent
01fa5ffec8
commit
16616c65a6
1 changed files with 2 additions and 3 deletions
|
|
@ -6,13 +6,12 @@ const fs = require('fs');
|
|||
const path = require('path');
|
||||
|
||||
const dir = path.join(__dirname, '../server');
|
||||
const _dir = path.join(__dirname, '../legacy/server');
|
||||
const dir_ = path.join(__dirname, '../legacy/server');
|
||||
|
||||
const setDir = (name) => {
|
||||
return path.join(_dir, name);
|
||||
return path.join(dir_, name);
|
||||
};
|
||||
|
||||
|
||||
fs.readdirSync(dir)
|
||||
.map(fillFile)
|
||||
.map(writeFile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue