Skip to content

Commit

Permalink
$mol_build strict mam submodule dir check
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkalica committed Jan 16, 2025
1 parent f4f25fa commit 1c391d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/ensure/git/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1c391d2

Please sign in to comment.