question-store
Advanced tools
Comparing version 0.12.1 to 0.12.2
@@ -81,8 +81,7 @@ 'use strict'; | ||
// persist project-specific hints | ||
// persist cwd-specific hints | ||
utils.sync(this, 'hints', function() { | ||
debug('creating hints store'); | ||
if (typeof hints === 'undefined') { | ||
var name = path.basename(app.options.cwd || process.cwd()); | ||
hints = app.store.create(name + '/hints'); | ||
hints = options.hints || new utils.Store(path.join('question-store', process.cwd(), 'hints')); | ||
debug('created hints store'); | ||
@@ -89,0 +88,0 @@ } |
{ | ||
"name": "question-store", | ||
"description": "Ask questions, persist the answers. Basic support for i18n and storing answers based on current working directory.", | ||
"version": "0.12.1", | ||
"version": "0.12.2", | ||
"homepage": "https://github.com/jonschlinkert/question-store", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
@@ -110,2 +110,2 @@ # question-store [![NPM version](https://img.shields.io/npm/v/question-store.svg?style=flat)](https://www.npmjs.com/package/question-store) [![NPM downloads](https://img.shields.io/npm/dm/question-store.svg?style=flat)](https://npmjs.org/package/question-store) [![Build Status](https://img.shields.io/travis/jonschlinkert/question-store.svg?style=flat)](https://travis-ci.org/jonschlinkert/question-store) | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.1.28, on July 29, 2016._ | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.1.30, on August 17, 2016._ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11686
146