Skip to content

Doesn't handle the dependencies of devDependencies #602

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

Merged
merged 1 commit into from
Jun 30, 2015

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Jun 29, 2015

Fixes #601

@Fatme Fatme added the bug label Jun 29, 2015
@Fatme Fatme self-assigned this Jun 29, 2015
@Fatme Fatme added this to the 1.1.2 milestone Jun 29, 2015
@ns-bot
Copy link

ns-bot commented Jun 29, 2015

@dtopuzov
Copy link
Contributor

💯

if(!this.devDependencies[path.basename(changedDirectoryAbsolutePath)]) {
let pathToPackageJson = path.join(changedDirectoryAbsolutePath, "package.json");
let packageJsonFiles = fs.existsSync(pathToPackageJson) ? [pathToPackageJson] : [];
let nodeModulesFolderPath = path.join(changedDirectoryAbsolutePath, "node_modules");
Copy link

Choose a reason for hiding this comment

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

There is already a constant for "node_modules".

@rosen-vladimirov
Copy link
Contributor

👍

@Fatme Fatme force-pushed the fatme/devDependencies branch from 4107a2a to fcc8fc6 Compare June 30, 2015 11:07
@ns-bot
Copy link

ns-bot commented Jun 30, 2015

Fatme pushed a commit that referenced this pull request Jun 30, 2015
Doesn't handle the dependencies of devDependencies
@Fatme Fatme merged commit 62b7d1a into release Jun 30, 2015
@Fatme Fatme deleted the fatme/devDependencies branch June 30, 2015 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants