WIP
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import { makeJJlogger } from "@helpers/jjLogger";
|
||||
import _ from 'lodash';
|
||||
import fs from 'fs-extra';
|
||||
import path from "path";
|
||||
import { cryptoHashHex, generateHasDir, generateMD5, jjDecrypt, jjEncrypt } from "@helpers/cryptoUtils";
|
||||
import { generateHasDir, generateMD5, jjDecrypt, jjEncrypt } from "@helpers/cryptoUtils";
|
||||
import { saveFileIfItChanged } from "@helpers/saveFileIfItChanged";
|
||||
import * as YAML from "js-yaml";
|
||||
import { subRepositoryClean } from "@helpers/gitSubRepoUtils";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { bashRunAndReturnSync } from "./bashUtils"
|
||||
import { bashRunAndReturnSync, bashRunAndShowLogsPromise } from "./bashUtils"
|
||||
import { makeJJlogger } from "./jjLogger"
|
||||
|
||||
const logger = makeJJlogger({
|
||||
@@ -20,9 +20,10 @@ pushd "${repo}" > /dev/null
|
||||
popd > /dev/null
|
||||
`
|
||||
const res = await bashRunAndReturnSync({
|
||||
command: ""
|
||||
command: command
|
||||
})
|
||||
|
||||
logger.log(res)
|
||||
|
||||
logger.success(`clean repository ${repo} done`)
|
||||
}
|
||||
Reference in New Issue
Block a user