Skip to content

Commit 5333c57

Browse files
committed
removed unnesesary renaming
The renaming of the "root" folder of paths in manifest file, creates error when the path is used as relative path to create "partial" release zip file.
1 parent 1636374 commit 5333c57

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/core/utils/security.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,6 @@ export function calcAllFileSha256(directoryPath: string): Promise<Record<string,
183183
const data: Record<string, string> = {};
184184
_.forIn(results, (value, key) => {
185185
let relativePath = path.relative(directoryPath, key);
186-
const matchresult = relativePath.match(/(\/|\\).*/);
187-
if (matchresult) {
188-
relativePath = path.join('CodePush', matchresult[0]);
189-
}
190186
relativePath = slash(relativePath);
191187
data[relativePath] = value;
192188
});

0 commit comments

Comments
 (0)