mirror of
https://github.com/sourcey/spectacle.git
synced 2024-09-11 05:25:36 +03:00
Bugfix: changed tmp.dirSync return type.
This commit is contained in:
parent
0ffde26db3
commit
5c3560c52e
@ -40,7 +40,7 @@ if (program.args.length < 1) { // && program.rawArgs.length < 1
|
||||
}
|
||||
|
||||
// Create a new temporary directory, and set some necessary defaults
|
||||
program.cacheDir = tmp.dirSync({ unsafeCleanup: true, prefix: 'spectacle-' });
|
||||
program.cacheDir = tmp.dirSync({ unsafeCleanup: true, prefix: 'spectacle-' }).name;
|
||||
program.specFile = program.args[0]; // || path.resolve(root, 'test/fixtures/cheese.json');
|
||||
|
||||
// Replace some absolute paths
|
||||
|
Loading…
Reference in New Issue
Block a user