Skip to content

Commit

Permalink
Change the default to a new directory at the location the process is ran
Browse files Browse the repository at this point in the history
  • Loading branch information
d4nyll committed Aug 31, 2017
1 parent 38e0acc commit 5e747be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "revoice",
"version": "0.1.12",
"version": "0.1.13",
"description": "Generate HTML / PDF receipts and invoices",
"main": "dist/index.js",
"homepage": "https://github.com/brewhk/revoice",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Revoice = {};
Revoice.DEFAULT_TEMPLATE = 'default';
Revoice.DEFAULT_OPTIONS = {
template: Revoice.DEFAULT_TEMPLATE,
destination: './tmp',
destination: `${process.env.PWD}/tmp`,
format: 'A3',
orientation: 'portrait',
margin: '1cm',
Expand Down

0 comments on commit 5e747be

Please sign in to comment.