Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Fix incorrect npmignore sniffing #242

Merged
merged 1 commit into from
Oct 25, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion seed/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ module.exports = yeoman.generators.Base.extend({

// Handle bug where npm has renamed .gitignore to .npmignore
// https://github.com/npm/npm/issues/3763
if (this.fs.exists('.npmignore')) {
if (this.fs.exists(this.templatePath('.npmignore'))) {
this.fs.copy(
this.templatePath('.npmignore'),
this.destinationPath('.gitignore')
Expand Down