We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12c95d6 + 16daf66 commit 17ca2d1Copy full SHA for 17ca2d1
src/core/emulator/providers/zip.ts
@@ -85,8 +85,8 @@ export class ZipMock extends Zip {
85
}
86
87
// First of all, create the directory where the files will be unzipped.
88
- const destParent = destination.substring(0, source.lastIndexOf('/')),
89
- destFolderName = destination.substr(source.lastIndexOf('/') + 1);
+ const destParent = destination.substring(0, destination.lastIndexOf('/')),
+ destFolderName = destination.substr(destination.lastIndexOf('/') + 1);
90
91
return this.file.createDir(destParent, destFolderName, true);
92
}).then(() => {
0 commit comments