{"action":"opened","issue":{"url":"https://api.github.com/repos/tgardner/appbuilder-convert/issues/1","labels_url":"https://api.github.com/repos/tgardner/appbuilder-convert/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tgardner/appbuilder-convert/issues/1/comments","events_url":"https://api.github.com/repos/tgardner/appbuilder-convert/issues/1/events","html_url":"https://github.com/tgardner/appbuilder-convert/issues/1","id":72419152,"number":1,"title":"SyntaxError: Invalid regular expression","user":{"login":"hanssens","id":493382,"avatar_url":"https://avatars.githubusercontent.com/u/493382?v=3","gravatar_id":"","url":"https://api.github.com/users/hanssens","html_url":"https://github.com/hanssens","followers_url":"https://api.github.com/users/hanssens/followers","following_url":"https://api.github.com/users/hanssens/following{/other_user}","gists_url":"https://api.github.com/users/hanssens/gists{/gist_id}","starred_url":"https://api.github.com/users/hanssens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanssens/subscriptions","organizations_url":"https://api.github.com/users/hanssens/orgs","repos_url":"https://api.github.com/users/hanssens/repos","events_url":"https://api.github.com/users/hanssens/events{/privacy}","received_events_url":"https://api.github.com/users/hanssens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-01T12:05:10Z","updated_at":"2015-05-01T12:05:10Z","closed_at":null,"body":"After installing the tool through NPM, I get an exception after running the following command:\r\n\r\n    appbuilder-convert --source MyTestApp/ --dest Cordova/\r\n\r\nOf course, the .abproject file resides in the MyTestApp folder.\r\n\r\nThe exception:\r\n\r\n    /usr/local/lib/node_modules/appbuilder-convert/node_modules/gitignore-parser/lib/index.js:76\r\n          item[0].length > 0 ? new RegExp('^((' + item[0].join(')|(') + '))') : ne\r\n                                                                      ^\r\n    SyntaxError: Invalid regular expression: /^((([^\\/]+)\\.abproject)|(([^\\/]+)\\/(.+)\\/\\.DS_Store)|(([^\\/]+)\\/(.+)\\/Thumbs\\.db)|(([^\\/]+)\\/(.+)\\/__MACOSX\\/**\\/*)|(\\.ab\\/)|(\\.ab\\/(.+)\\/([^\\/]+))|(\\.abignore)|(\\.abignore)|(\\.abproject)|(\\.git\\/(.+)\\/([^\\/]+))|(\\.gitignore)|(App_Resources\\/)|(Plugins\\/)|(bin\\/(.+)\\/([^\\/]+))|(cordova([^\\/]+))|(obj\\/(.+)\\/([^\\/]+)))/: Nothing to repeat\r\n        at new RegExp (native)\r\n        at /usr/local/lib/node_modules/appbuilder-convert/node_modules/gitignore-parser/lib/index.js:76:67\r\n        at Array.map (native)\r\n        at Object.exports.parse (/usr/local/lib/node_modules/appbuilder-convert/node_modules/gitignore-parser/lib/index.js:74:4)\r\n        at Object.exports.compile (/usr/local/lib/node_modules/appbuilder-convert/node_modules/gitignore-parser/lib/index.js:12:24)\r\n        at CopyAssetsTaskFactory (/usr/local/lib/node_modules/appbuilder-convert/lib/tasks/assets.js:22:27)\r\n        at ConverterFactory (/usr/local/lib/node_modules/appbuilder-convert/lib/converter.js:71:47)\r\n        at Object.<anonymous> (/usr/local/lib/node_modules/appbuilder-convert/index.js:34:43)\r\n        at Module._compile (module.js:460:26)\r\n        at Object.Module._extensions..js (module.js:478:10)\r\n\r\nI'm running Mac OSX 10.10.3, with an AppBuilder project created with the Visual Studio Extension.\r\n"}}