Skip to content

Commit

Permalink
removed unnecessary new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
abner committed Feb 10, 2016
1 parent 384c385 commit 6977035
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions adm-zip/adm-zip-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ console.log(zip.readAsText("some_folder/my_file.txt"));
zip.extractEntryTo(/*entry name*/"some_folder/my_file.txt", /*target path*/"/home/me/tempfolder", /*overwrite*/true)
// extracts everything
zip.extractAllTo(/*target path*/"/home/me/zipcontent/", /*overwrite*/true);

// extracts everything and calls callback -> async extracction
zip.extractAllToAsync(/*target path*/"/home/me/zipcontent/", /*overwrite*/true, (error: Error)=> {});


// creating archives
var zip = new AdmZip();

Expand Down Expand Up @@ -61,4 +59,4 @@ zip.extractEntryTo("folder/subfolder/myfile.txt", "/home/user/", false, true);

function isAdmZipEntry(obj: any): obj is AdmZip.IZipEntry {
return obj !== null && typeof obj === "object" && typeof obj['entryName'] === 'string';
}
}

0 comments on commit 6977035

Please sign in to comment.