alanshaw / grunt-include-replace

Grunt task to include files and replace variables. Allows for parameterised includes.
MIT License
200 stars 45 forks source link

Warning: Arguments to path.join must be strings #16

Closed haoxins closed 11 years ago

haoxins commented 11 years ago

mac 10.8 node v0.10.15 grunt v0.4.1

includereplace: {
      dist: {
        options: {},
        files: [
          {src: 'static-html-dev/*.html', desc: 'static/'},
          {src: 'static-html-dev/settings/*.html', desc: 'static/settings/'},
          {src: 'static-html-dev/user/*.html', desc: 'static/user/'}
        ]
      }
    },

BTW:it is all right when use node v0.8.x

alanshaw commented 11 years ago

The files array should contain objects with src and dest properties. You have src and desc.

haoxins commented 11 years ago

I'm sorry.