endsWith() for node 0.10.X
You should not use endsWith() in node 0.10.X even though it exists because it is not supported and does not pass tests. The alternative is : file.originalFilename.endsWith(".p12") => file.originalFilename.match(/\.p12$/) If you look at node.green...
Recent Comments