Skip to content

Commit 53186ed

Browse files
author
plamen5kov
committed
fixed linux path bug
1 parent ad5342d commit 53186ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • build/project-template-gradle/build-tools/android-static-binding-generator/ast-parser/visitors

build/project-template-gradle/build-tools/android-static-binding-generator/ast-parser/visitors/es5-visitors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ var es5_visitors = (function () {
449449
}
450450

451451
function _generateLineToWrite(classNameFromDecorator, extendClass, overriddenMethodNames, extendInfo, filePath) {
452-
var lineToWrite = extendClass + "*" + extendInfo.replace(/[\\-]/g, "_") + "*" + overriddenMethodNames + "*" + classNameFromDecorator + "*" + filePath;
452+
var lineToWrite = extendClass + "*" + extendInfo.replace(/[\\/\\-]/g, "_") + "*" + overriddenMethodNames + "*" + classNameFromDecorator + "*" + filePath;
453453
return lineToWrite;
454454
}
455455

@@ -458,4 +458,4 @@ var es5_visitors = (function () {
458458
}
459459
})();
460460

461-
module.exports = es5_visitors;
461+
module.exports = es5_visitors;

0 commit comments

Comments
 (0)