jsharmony 1.40.1 → 1.40.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/HelperFS.js +1 -1
  2. package/package.json +1 -1
package/lib/HelperFS.js CHANGED
@@ -161,7 +161,7 @@ exports.getFileStats = function (req, res, path, callback) {
161
161
  exports.getExtFileName = function(fpath, cb){
162
162
  if(fpath && (fpath.indexOf('%%%EXT%%%')>=0)){
163
163
  var rxstr = Helper.escapeRegEx(path.basename(fpath));
164
- rxstr = Helper.ReplaceAll(rxstr, '%%%EXT%%%', '\\.(.*?)');
164
+ rxstr = Helper.ReplaceAll(rxstr, '%%%EXT%%%', '(\\..*)?');
165
165
  var rx=RegExp('^'+rxstr+'$');
166
166
  fs.readdir(path.dirname(fpath), function(err, files){
167
167
  for(var i=0;i<files.length;i++){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsharmony",
3
- "version": "1.40.1",
3
+ "version": "1.40.2",
4
4
  "description": "Rapid Application Development (RAD) Platform for Node.js Database Application Development",
5
5
  "main": "index.js",
6
6
  "scripts": {