Add some dependencies for uploading artifacts
This commit is contained in:
parent
1d05ad7576
commit
0cbd4b56d3
111 changed files with 9299 additions and 3597 deletions
9
node_modules/tmp-promise/example-usage.js
generated
vendored
Normal file
9
node_modules/tmp-promise/example-usage.js
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
var tmp = require("./index.js");
|
||||
var Promise = require("bluebird"); // just for delay, this works with native promises
|
||||
// disposer
|
||||
tmp.withFile((path) => {
|
||||
console.log("Created at path", path);
|
||||
return Promise.delay(1000);
|
||||
}).then(() => {
|
||||
console.log("File automatically disposed");
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue