From 22dd519edfdd5735ff5ecb27d8f23d6e6e84d9b7 Mon Sep 17 00:00:00 2001 From: palumbon Date: Thu, 2 May 2024 01:47:57 +0200 Subject: [PATCH] Bump next version --- package.json | 2 +- src/validator/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 53d2ca9a..3709eebf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wollok-ts", - "version": "4.1.1", + "version": "4.1.2", "wollokVersion": "3.2.3", "description": "TypeScript based Wollok language implementation", "repository": "https://github.com/uqbar-project/wollok-ts", diff --git a/src/validator/index.ts b/src/validator/index.ts index 2133e1dc..ee85f7e1 100644 --- a/src/validator/index.ts +++ b/src/validator/index.ts @@ -453,7 +453,7 @@ sourceMapForNodeName) export const shouldNotUseSpecialCharactersInName = error(node => !node.fileName || - node.fileName.match(/([A-Za-z._/\d])/g)!.length === node.fileName.length + node.fileName.match(/([A-Za-z._/\d])/g)!.length === node.fileName.length && node.fileName.match(/\./g)!.length === 1 , valuesForFileName, sourceMapForNodeName)