Skip to content

Commit

Permalink
fix default file path
Browse files Browse the repository at this point in the history
  • Loading branch information
thozh committed Jul 2, 2020
1 parent edb8eb7 commit fc02071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/queue/dependencies.queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export class DependenciesQueue {
const bufferContent = Buffer.from(readFileSync(`${tmpPath}/${file}`));

tree.push({
path: job.data.path + file,
path: `${job.data.path === '/' ? file : job.data.path + file} `,
mode: '100644',
type: 'blob',
content: bufferContent.toString('utf-8'),
Expand Down

0 comments on commit fc02071

Please sign in to comment.