Skip to content

Commit

Permalink
fixbug
Browse files Browse the repository at this point in the history
  • Loading branch information
iamapig120 committed Jan 23, 2019
1 parent 17ec665 commit 7d9b854
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,16 @@ try {
fs.statSync(CONFIGS.PLUGINS_CONFIG_PATH)
} catch (error) {
fs.copyFileSync(
path.join(__dirname, CONFIGS.MODS_DIR, 'active.json'),
CONFIGS.MODS_CONFIG_PATH
path.join(__dirname, CONFIGS.PLUGINS_DIR, 'active.json'),
CONFIGS.PLUGINS_CONFIG_PATH
)
}
try {
fs.statSync(CONFIGS.PLUGINS_CONFIG_PATH)
fs.statSync(CONFIGS.MODS_CONFIG_PATH)
} catch (error) {
fs.copyFileSync(
path.join(__dirname, CONFIGS.PLUGINS_DIR, 'active.json'),
CONFIGS.PLUGINS_CONFIG_PATH
path.join(__dirname, CONFIGS.MODS_CONFIG_PATH, 'active.json'),
CONFIGS.MODS_CONFIG_PATH
)
}
try {
Expand Down

0 comments on commit 7d9b854

Please sign in to comment.