.
This commit is contained in:
parent
9b06d5fcaf
commit
8be50086c9
8 changed files with 309 additions and 312 deletions
|
|
@ -9,10 +9,8 @@ export const mapearPasta = ({
|
|||
pasta,
|
||||
arquivoDestino,
|
||||
variavel,
|
||||
sufixo,
|
||||
}: {
|
||||
prefixos: { [k: string]: string };
|
||||
sufixo: string;
|
||||
pasta: string;
|
||||
arquivoDestino: string;
|
||||
variavel?: string;
|
||||
|
|
@ -65,7 +63,7 @@ export const mapearPasta = ({
|
|||
if (i === partes.length - 1) {
|
||||
pasta[parte] = `~~~\${prefixo}${encodeURI(
|
||||
arquivo.slice(pasta_estaticos.length - 1),
|
||||
)}${sufixo}~~~`;
|
||||
)}~~~`;
|
||||
} else {
|
||||
pasta[parte] = pasta[parte] || {};
|
||||
pasta = pasta[parte] as tp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue