From 1c391d247736e31caa8ac7d9638bca82c71a3c06 Mon Sep 17 00:00:00 2001 From: Stefan Zerkalica Date: Thu, 16 Jan 2025 12:39:55 +0300 Subject: [PATCH] $mol_build strict mam submodule dir check --- build/ensure/git/git.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/ensure/git/git.ts b/build/ensure/git/git.ts index 2c4e2006f2..ec892e0f16 100644 --- a/build/ensure/git/git.ts +++ b/build/ensure/git/git.ts @@ -75,7 +75,7 @@ namespace $ { try { const dirs = this.submodule_dirs({ dir: parent }) - return dirs.some(str => str && dir.endsWith(str)) + return dirs.some(str => str && dir.endsWith('/' + str)) } catch (e) { if ($mol_promise_like(e)) $mol_fail_hidden(e) console.error(e)