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’ll 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 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!

@lauriejim lauriejim merged commit ded2771 into strapi:master 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
None yet
Development

Successfully merging this pull request may close these issues.

4 participants