Skip to content

Configure tns-core-modules version when init command is executed #890

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
Sep 8, 2015

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Sep 8, 2015

Fixes #875

@Fatme Fatme added this to the 1.3.0 milestone Sep 8, 2015
@ns-bot
Copy link

ns-bot commented Sep 8, 2015

@@ -56,6 +57,12 @@ export class InitService implements IInitService {
});
}

let dependencies = projectData["dependencies"];
if(!dependencies) {
projectData["dependencies"] = Object.create(null);
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps projectData.dependencies = {}? You can use {} here, because we just serialize the object immediately.

@teobugslayer
Copy link
Contributor

👍 but you may consider using the simplified syntax I proposed.

@Fatme Fatme force-pushed the fatme/conf-modules-version branch from 145c9e3 to d9d6322 Compare September 8, 2015 13:16
@ns-bot
Copy link

ns-bot commented Sep 8, 2015

Fatme pushed a commit that referenced this pull request Sep 8, 2015
Configure tns-core-modules version when init command is executed
@Fatme Fatme merged commit e82ceac into release Sep 8, 2015
@Fatme Fatme deleted the fatme/conf-modules-version branch September 8, 2015 15:12
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.

3 participants