mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
bump versions
This commit is contained in:
1 parent
f2f5e808c4
commit
aa6f3cc1d8
6 files changed
+12
-12
No files matched your search
+2
-2
@@ -14,7 +14,7 @@ function getWorkspaces() {
|
||||
});
|
||||
}
|
||||
|
||||
function spawnSync(command: string, silent?: boolean) {
|
||||
function spawnSync(command, silent) {
|
||||
if (!silent) console.log(`$ ${command}`);
|
||||
const args = command.split(/\s+/);
|
||||
const result = spawn.sync(args[0], [...args.slice(1), '--color'], { cwd, encoding: 'utf8' });
|
||||
@@ -26,7 +26,7 @@ function spawnSync(command: string, silent?: boolean) {
|
||||
}
|
||||
}
|
||||
|
||||
function spawnAsync(command: string) {
|
||||
function spawnAsync(command) {
|
||||
const args = command.split(/\s+/);
|
||||
const child = spawn(args[0], args.slice(1), { stdio: 'inherit' });
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
Reference in new issue
Block a user