Skip to content

Commit

Permalink
fix: pattern2RegEx
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Sep 13, 2022
1 parent 0196949 commit 5130c06
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ If you find errors in the definitions, e.g. function calls that should be allowe
Placeholder for the next version (at the beginning of the line):
### **WORK IN PROGRESS**
-->
### 2.6.5 (2022-09-13)

### **WORK IN PROGRESS**

- (AlCalzone) Expose more JS-Controller internals under the `commonTools` export

Expand Down
2 changes: 1 addition & 1 deletion build/controllerTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ exports.resolveNamedModule = resolveNamedModule;
* @param pattern The pattern to convert
*/
function pattern2RegEx(pattern) {
return exports.controllerToolsInternal.tools.pattern2RegEx(pattern);
return exports.controllerToolsInternal.pattern2RegEx(pattern);
}
exports.commonTools = {
pattern2RegEx,
Expand Down
2 changes: 1 addition & 1 deletion src/controllerTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function resolveNamedModule(
* @param pattern The pattern to convert
*/
function pattern2RegEx(pattern: string): string {
return controllerToolsInternal.tools.pattern2RegEx(pattern);
return controllerToolsInternal.pattern2RegEx(pattern);
}

export const commonTools = {
Expand Down

0 comments on commit 5130c06

Please sign in to comment.