Skip to content

Commit c16ca0e

Browse files
authored
Fix open gitignore (#1011)
1 parent 692f9c0 commit c16ca0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ export class GitExtension implements IGitExtension {
647647
async ensureGitignore(): Promise<void> {
648648
const path = await this._getPathRepository();
649649

650-
await requestAPI(URLExt.join(path, 'ignore'), 'POST');
650+
await requestAPI(URLExt.join(path, 'ignore'), 'POST', {});
651651
this._openGitignore();
652652
await this.refreshStatus();
653653
}

0 commit comments

Comments
 (0)