Skip to content

Commit

Permalink
Fix a linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
futpib committed Oct 14, 2019
1 parent 7abc30c commit 8f9c034
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function main() {
if (package_.xo.extends.includes(name)) {
return;
}

package_.xo.extends.push(name);
const str = JSON.stringify(package_, null, 2) + '\n';
fs.writeFileSync('./package.json', str, 'utf8');
Expand Down

0 comments on commit 8f9c034

Please sign in to comment.