Update checked-in dependencies
This commit is contained in:
parent
75e4d9f140
commit
4154eaf0e9
55 changed files with 1717 additions and 1934 deletions
16
node_modules/tmp-promise/example-usage.js
generated
vendored
16
node_modules/tmp-promise/example-usage.js
generated
vendored
|
|
@ -1,9 +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");
|
||||
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