mirror of
https://github.com/expo/expo-github-action.git
synced 2026-11-15 17:32:45 -10:00
docs: reword the assumptions on package manager
This commit is contained in:
1 parent
eb1ffb8b23
commit
459b5673d5
2 files changed
+8
-6
No files matched your search
@@ -67043,9 +67043,10 @@ async function resolvePackage(name, range) {
|
||||
}
|
||||
exports.resolvePackage = resolvePackage;
|
||||
/**
|
||||
* Install a module using a node package manager.
|
||||
* The installation is executed in a temporary folder.
|
||||
* After this is complete, it's "installed" into the worker's tool cache.
|
||||
* Install a module using a node package manager, inside a temporary directory.
|
||||
* If that's successful, move the module into the worker's tool cache.
|
||||
*
|
||||
* Note, we do assume that the packager is globally available AND has the `add <pkgspec>` command.
|
||||
*/
|
||||
async function installPackage(name, version, manager) {
|
||||
const temp = (0, worker_1.tempPath)(name, version);
|
||||
|
||||
+4
-3
@@ -31,9 +31,10 @@ export async function resolvePackage(name: string, range: string): Promise<strin
|
||||
}
|
||||
|
||||
/**
|
||||
* Install a module using a node package manager.
|
||||
* The installation is executed in a temporary folder.
|
||||
* After this is complete, it's "installed" into the worker's tool cache.
|
||||
* Install a module using a node package manager, inside a temporary directory.
|
||||
* If that's successful, move the module into the worker's tool cache.
|
||||
*
|
||||
* Note, we do assume that the packager is globally available AND has the `add <pkgspec>` command.
|
||||
*/
|
||||
export async function installPackage(name: string, version: string, manager: string) {
|
||||
const temp = tempPath(name, version);
|
||||
|
||||
Reference in new issue
Block a user