updates
This commit is contained in:
@@ -22,6 +22,10 @@ export function osEnv(key: string): string | undefined {
|
||||
return isDeno() ? Deno.env.get(key) : process.env[key];
|
||||
}
|
||||
|
||||
export function exit(code?: number): never {
|
||||
isDeno() ? Deno.exit(code) : process.exit(code);
|
||||
}
|
||||
|
||||
export class ProcessOutput {
|
||||
code: number;
|
||||
stdout: string;
|
||||
|
||||
Reference in New Issue
Block a user