Skip to content

Commit d3ec94c

Browse files
fix: build command
1 parent 2f40b39 commit d3ec94c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/utils/command.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ exports.prepareFiles = (buildDir, pushDir, context) => __awaiter(this, void 0, v
3838
const cloneForBranch = (pushDir, branch, context) => __awaiter(this, void 0, void 0, function* () {
3939
signale_1.default.info(`Cloning the branch %s from the remote repo`, branch);
4040
const url = misc_1.getGitUrl(context);
41+
yield execAsync(`cd ${pushDir} && ls -lat`);
4142
yield execAsync(`git -C ${pushDir} clone --quiet --branch=${branch} --depth=1 ${url} .`, true, 'git clone', true);
43+
yield execAsync(`cd ${pushDir} && ls -lat`);
4244
if (!fs_1.default.existsSync(path_1.default.resolve(pushDir, '.git'))) {
4345
yield gitInit(pushDir);
4446
yield gitCheckout(pushDir, branch);

src/utils/command.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ const cloneForBranch = async (pushDir: string, branch: string, context: Context)
3232
signale.info(`Cloning the branch %s from the remote repo`, branch);
3333

3434
const url = getGitUrl(context);
35+
await execAsync(`cd ${pushDir} && ls -lat`);
3536
await execAsync(`git -C ${pushDir} clone --quiet --branch=${branch} --depth=1 ${url} .`, true, 'git clone', true);
37+
await execAsync(`cd ${pushDir} && ls -lat`);
3638
if (!fs.existsSync(path.resolve(pushDir, '.git'))) {
3739
await gitInit(pushDir);
3840
await gitCheckout(pushDir, branch);

0 commit comments

Comments
 (0)