Skip to content

Commit

Permalink
Added default package installation path (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersevenrud committed Apr 10, 2020
1 parent f574649 commit b3c004b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,11 +342,13 @@ export default class Packages {
* @param {string} url URL to package
* @param {options} [options]
* @param {boolean} [options.system] Install as system package
* @param {string} [options.root] Root installation path
*/
install(url, options = {}) {
const body = {
url,
options: Object.assign({}, {
root: 'home:/.packages',
system: false
}, options)
};
Expand Down

0 comments on commit b3c004b

Please sign in to comment.