Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: stop creating hooks on npm i in plugin folders. #7

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
Feb 9, 2018

Conversation

DimitarTachev
Copy link

No description provided.

index.js Outdated
var packageJsonFile = path.join(dir, 'package.json');
if (fs.existsSync(packageJsonFile)) {
var packageJsonContent = require(packageJsonFile);
isNativeScriptAppRoot = !!packageJsonContent.nativescript.id;
Copy link
Contributor

Choose a reason for hiding this comment

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

this will fail in case the package.json does not have nativescript key

@DimitarTachev DimitarTachev force-pushed the tachev/fix-project-search branch from 8366815 to d23723e Compare February 9, 2018 16:10
@DimitarTachev DimitarTachev force-pushed the tachev/fix-project-search branch from d23723e to 934158b Compare February 9, 2018 16:24
@DimitarTachev DimitarTachev force-pushed the tachev/fix-project-search branch from 934158b to f8ba6b9 Compare February 9, 2018 16:31
@DimitarTachev DimitarTachev merged commit 15d830f into master Feb 9, 2018
@DimitarTachev DimitarTachev deleted the tachev/fix-project-search branch February 9, 2018 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants