Skip to content

Commit

Permalink
Merge pull request #56 from shannonlal/v-1-0-1-FixStrictMode
Browse files Browse the repository at this point in the history
Added fix for removing let dependency
  • Loading branch information
shannonlal authored Dec 20, 2017
2 parents dbae82c + 3c43933 commit e0bca2a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [1.0.1] - 2017-12-19
### Added
- Removed dependency on let to fix issue #55 @shannonlal

## [1.0.0] - 2017-12-04
### Added
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = {

confirm: function(options) {
var prompted = false;
let chainFunction;
var chainFunction;
return es.map(function(file, cb) {

if (prompted === true) {
Expand All @@ -57,7 +57,7 @@ module.exports = {

return new Promise( (resolve,reject)=>{
inq.prompt([options]).then( resp =>{
let opts = chainFunction( options, resp );
var opts = chainFunction( options, resp );
if( typeof opts === 'undefined'){
return resolve('response');
}else{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gulp-prompt",
"version": "1.0.0",
"version": "1.0.1",
"description": "Add interactive console prompts to gulp",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit e0bca2a

Please sign in to comment.