Skip to content

Commit dbce7af

Browse files
committed
fix: parsePush regression on tmp directory
1 parent d4d9239 commit dbce7af

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/proxy/processors/push-action/parsePush.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
import { Action, Step } from '../../actions';
22
import zlib from 'zlib';
33
import fs from 'fs';
4-
import path from 'path';
54
import lod from 'lodash';
65
import { CommitContent } from '../types';
76

87
const BitMask = require('bit-mask') as any;
98

10-
const dir = path.resolve(__dirname, './.tmp');
9+
const dir = './.tmp/';
1110

1211
if (!fs.existsSync(dir)) {
13-
fs.mkdirSync(dir, { recursive: true });
12+
fs.mkdirSync(dir);
1413
}
1514

1615
async function exec(req: any, action: Action): Promise<Action> {

0 commit comments

Comments
 (0)