mirror of
https://github.com/github/codeql-action.git
synced 2026-10-31 09:59:43 +00:00
Propagate checkoutPath to getRef
This commit is contained in:
@@ -307,6 +307,13 @@ export class Env<
|
||||
this.changed = true;
|
||||
}
|
||||
|
||||
/** Sets all environment variables given by `vars`. */
|
||||
public setAll(vars: Record<string, T>): void {
|
||||
for (const [key, val] of Object.entries(vars)) {
|
||||
this.set(key, val);
|
||||
}
|
||||
}
|
||||
|
||||
/** Gets a value indicating whether `set` was called at least once. */
|
||||
public hasChanged(): boolean {
|
||||
return this.changed;
|
||||
|
||||
Reference in New Issue
Block a user