Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

change placeholder delimiters and update example info

  • Loading branch information...
commit ebab9afc87ad192ca8ee8791834642c63c33f173 1 parent 10c8715
@outbounder authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
4 index.js
@@ -24,7 +24,7 @@ module.exports = function(angel) {
"!.git"
], {dot: true})
for(var key in angel.cmdData)
- stream = stream.pipe(replace(new RegExp("{"+key+"}", "g"), angel.cmdData[key]))
+ stream = stream.pipe(replace(new RegExp("<{{"+key+"}}>", "g"), angel.cmdData[key]))
stream.pipe(gulp.dest(angel.cmdData.dest))
.on("end", function(){
if(angel.cmdData.src.indexOf(".git") != -1) {
@@ -41,5 +41,5 @@ module.exports = function(angel) {
shelljs.exec("npm install")
})
})
- .example("generate testProjectName git://...")
+ .example("generate testProjectName <git url or folder path>")
}

0 comments on commit ebab9af

Please sign in to comment.
Something went wrong with that request. Please try again.