Skip to content

Commit 46e895b

Browse files
committed
Added default package installation path (#106)
1 parent 7f69787 commit 46e895b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/packages.js

+2
Original file line numberDiff line numberDiff line change
@@ -342,11 +342,13 @@ export default class Packages {
342342
* @param {string} url URL to package
343343
* @param {options} [options]
344344
* @param {boolean} [options.system] Install as system package
345+
* @param {string} [options.root] Root installation path
345346
*/
346347
install(url, options = {}) {
347348
const body = {
348349
url,
349350
options: Object.assign({}, {
351+
root: 'home:/.packages',
350352
system: false
351353
}, options)
352354
};

0 commit comments

Comments
 (0)