Skip to content

Commit

Permalink
Merge pull request #118 from opensrc0/develop
Browse files Browse the repository at this point in the history
fix(path): path issue
  • Loading branch information
opensrc0 authored Feb 18, 2024
2 parents fdf6229 + 2f87d6e commit 9373bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __application/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const getDirPath = (env, CURRENT_APP_DIR, COMPONENT_CONFIG_PATH) => {
if (env === 'local') {
createDir = `${CURRENT_APP_DIR}/${COMPONENT_CONFIG_PATH}/fe-theme-config`;
} else {
createDir = path.resolve(`${__dirname}`, `../../${process.env.COMPONENT_CONFIG_PATH}/fe-theme-config`);
createDir = path.resolve(`${__dirname}`, `../../../../${process.env.COMPONENT_CONFIG_PATH}/fe-theme-config`);
}

return createDir;
Expand Down

0 comments on commit 9373bdc

Please sign in to comment.