linear-github-cli 1.3.4 → 1.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,23 +30,6 @@ async function createParentIssue() {
30
30
  const inputHandler = new input_handler_1.InputHandler(linearClient, githubClient);
31
31
  const repo = await inputHandler.selectRepository();
32
32
  githubClient.repo = repo;
33
- // Check for unpushed commits on current branch
34
- const unpushedCheck = (0, branch_utils_1.checkUnpushedCommitsOnCurrentBranch)();
35
- if (unpushedCheck.hasUnpushed) {
36
- console.log('\n⚠️ Warning: There are unpushed commits on the current branch.');
37
- console.log(` Found ${unpushedCheck.count} unpushed commit(s):`);
38
- unpushedCheck.commits.forEach(commit => {
39
- console.log(` - ${commit}`);
40
- });
41
- console.log('\n If you create a branch from this state, these commits will be included in PR body.');
42
- console.log(' Please push commits first:');
43
- console.log(' git push');
44
- console.log('\n Then re-run this command.');
45
- process.exit(1);
46
- }
47
- else {
48
- console.log('✓ No unpushed commits on current branch');
49
- }
50
33
  // Step 2: Get issue details
51
34
  const details = await inputHandler.promptIssueDetails(repo);
52
35
  // Step 3: Select GitHub project (optional)
@@ -30,23 +30,6 @@ async function createSubIssue() {
30
30
  console.log('📦 Fetching repositories...');
31
31
  const repo = await inputHandler.selectRepository();
32
32
  githubClient.repo = repo;
33
- // Check for unpushed commits on current branch
34
- const unpushedCheck = (0, branch_utils_1.checkUnpushedCommitsOnCurrentBranch)();
35
- if (unpushedCheck.hasUnpushed) {
36
- console.log('\n⚠️ Warning: There are unpushed commits on the current branch.');
37
- console.log(` Found ${unpushedCheck.count} unpushed commit(s):`);
38
- unpushedCheck.commits.forEach(commit => {
39
- console.log(` - ${commit}`);
40
- });
41
- console.log('\n If you create a branch from this state, these commits will be included in PR body.');
42
- console.log(' Please push commits first:');
43
- console.log(' git push');
44
- console.log('\n Then re-run this command.');
45
- process.exit(1);
46
- }
47
- else {
48
- console.log('✓ No unpushed commits on current branch');
49
- }
50
33
  // Step 2: Select parent issue
51
34
  console.log('\n📋 Fetching issues...');
52
35
  const parentIssueNumber = await inputHandler.selectParentIssue(repo);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linear-github-cli",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "CLI tool for creating GitHub issues with Linear integration",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {