From cb57e943cc7e7ceef47bc77c6d5507c2b7857caa Mon Sep 17 00:00:00 2001 From: Heptazhou Date: Fri, 17 Nov 2023 01:49:09 +0000 Subject: [PATCH] Update --- package-lock.json | 4 ++-- package.json | 2 +- pre-package.jl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3bfdafb..7924da9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-julia-format", - "version": "1.2.3", + "version": "1.2.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscode-julia-format", - "version": "1.2.3", + "version": "1.2.4", "license": "AGPL-3.0-or-later", "dependencies": { "@rauschma/stringio": "^1.4.0", diff --git a/package.json b/package.json index e199016..b0a8f6a 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Julia Formatter", "publisher": "0h7z", "icon": "icon.ico", - "version": "1.2.3", + "version": "1.2.4", "license": "AGPL-3.0-or-later", "description": "A formatter for the Julia language", "repository": { diff --git a/pre-package.jl b/pre-package.jl index 00aebe6..c59d833 100644 --- a/pre-package.jl +++ b/pre-package.jl @@ -13,7 +13,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -((d, f) -> write(f, replace(read(d * f, String), "\t" => "")))("out/", "main.js") +((d, f) -> write(f, replace(read(d * f, String), r"^\t+"m => "")))("out/", "main.js") const dir = "node_modules/" const mod = ["@rauschma/stringio", "diff", "untildify", "util"]