File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -977,7 +977,7 @@ export class TaskMaster {
977977 subtaskId : number ,
978978 parentId : number ,
979979 ) : Promise < void > {
980- await this . deleteAllDepsSafelyFromTaskAsync ( subtaskId . toString ( ) ) ;
980+ await this . deleteAllDepsUnsafeFromTaskAsync ( subtaskId . toString ( ) ) ;
981981 await this . _executeCommandAsync (
982982 `Converting task ${ subtaskId } to subtask of ${ parentId } ...` ,
983983 `Task ${ subtaskId } converted to subtask successfully!` ,
@@ -995,7 +995,7 @@ export class TaskMaster {
995995 public async convertSubtaskToTaskAsync (
996996 hierarchicalId : string ,
997997 ) : Promise < void > {
998- await this . deleteAllDepsSafelyFromTaskAsync ( hierarchicalId ) ;
998+ await this . deleteAllDepsUnsafeFromTaskAsync ( hierarchicalId ) ;
999999 await this . _executeCommandAsync (
10001000 `Converting subtask ${ hierarchicalId } to task...` ,
10011001 `Subtask ${ hierarchicalId } converted to task successfully!` ,
@@ -1144,7 +1144,6 @@ export class TaskMaster {
11441144
11451145 await oraPromise ( async ( ) => {
11461146 const tasks = await this . getTasksContentAsync ( ) ;
1147-
11481147 if ( ! taskId . includes ( "." ) ) {
11491148 // It's a main task
11501149 const idNum = Number . parseInt ( taskId , 10 ) ;
You can’t perform that action at this time.
0 commit comments