cleanup
This commit is contained in:
11
test/test.js
Normal file
11
test/test.js
Normal file
@ -0,0 +1,11 @@
|
||||
/// <reference path="../ts/typings/main.d.ts" />
|
||||
var smartarchive = require("./index.js");
|
||||
var path = require("path");
|
||||
smartarchive.get({
|
||||
from: "https://github.com/UmbrellaZone/legaldocs/archive/master.zip",
|
||||
toPath: path.resolve("./test/"),
|
||||
cb: function () {
|
||||
console.log("This is a callback");
|
||||
}
|
||||
});
|
||||
//# sourceMappingURL=test.js.map
|
1
test/test.js.map
Normal file
1
test/test.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,IAAI,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AACzC,IAAI,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAE3B,YAAY,CAAC,GAAG,CAAC;IACb,IAAI,EAAC,8DAA8D;IACnE,MAAM,EAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;IAC9B,EAAE,EAAE;QACA,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;IACrC,CAAC;CACJ,CAAC,CAAC"}
|
@ -1,8 +1,8 @@
|
||||
/// <reference path="./typings/tsd.d.ts" />
|
||||
var remotezip = require("./index.js");
|
||||
/// <reference path="../ts/typings/main.d.ts" />
|
||||
var smartarchive = require("./index.js");
|
||||
var path = require("path");
|
||||
|
||||
remotezip.get({
|
||||
smartarchive.get({
|
||||
from:"https://github.com/UmbrellaZone/legaldocs/archive/master.zip",
|
||||
toPath:path.resolve("./test/"),
|
||||
cb: function(){
|
||||
|
Reference in New Issue
Block a user