Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve code style and code quality #2191

Merged
merged 3 commits into from Nov 5, 2018
Merged

Improve code style and code quality #2191

merged 3 commits into from Nov 5, 2018

Conversation

maturanomx
Copy link
Contributor

Just some little improvements that I found looking around the code.

Related 2410d5a

My PR is a:

馃拝 Enhancement

Main update on the:

Framework

@@ -16,19 +16,11 @@ const LodashModuleReplacementPlugin = require('lodash-webpack-plugin');

const isAdmin = process.env.IS_ADMIN === 'true';
const isSetup = path.resolve(process.env.PWD, '..', '..') === path.resolve(process.env.INIT_CWD);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be const isSetup = process.env.IS_MONOREPO || false;, same as in other files 馃

@lauriejim lauriejim self-assigned this Oct 24, 2018
@lauriejim lauriejim added pr: 馃拝 Enhancement source: core:strapi Source is core/strapi package labels Oct 24, 2018
@lauriejim lauriejim added this to In progress in 3.0.0-alpha.14.5 via automation Oct 26, 2018
@lauriejim lauriejim added this to the 3.0.0-alpha.14.5 milestone Oct 26, 2018
@lauriejim lauriejim requested review from soupette and removed request for Aurelsicoko and lauriejim October 26, 2018 13:32
@lauriejim lauriejim assigned soupette and unassigned lauriejim Oct 26, 2018
Just some little improvements that I found looking around the code.

Related 2410d5a
Copy link
Contributor

@soupette soupette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

3.0.0-alpha.14.5 automation moved this from In progress to Ready to merge Nov 5, 2018
@lauriejim lauriejim merged commit ded2771 into strapi:master Nov 5, 2018
3.0.0-alpha.14.5 automation moved this from Ready to merge to Done Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source: core:strapi Source is core/strapi package
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants