Skip to content

Commit 5e9b563

Browse files
committed
Remove extra empty line when chsrc_run_as_x_file()
1 parent 6b7af05 commit 5e9b563

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/framework/core.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* | Yangmoooo <[email protected]>
1010
* |
1111
* Created On : <2023-08-29>
12-
* Last Modified : <2025-07-21>
12+
* Last Modified : <2025-07-22>
1313
*
1414
* chsrc framework
1515
* ------------------------------------------------------------*/
@@ -1402,7 +1402,7 @@ chsrc_run_as_bash_file (const char *script_content)
14021402
// chmod (tmpfile, 0700);
14031403
char *msg = CHINESE ? "即将执行 Bash 脚本内容:" : "The Bash script content will be executed:";
14041404
chsrc_note2 (msg);
1405-
println (faint(script_content));
1405+
print (faint(script_content));
14061406
char *cmd = xy_2strjoin ("bash ", tmpfile);
14071407
chsrc_run (cmd, RunOpt_Dont_Abort_On_Failure);
14081408
remove (tmpfile);
@@ -1422,7 +1422,7 @@ chsrc_run_as_sh_file (const char *script_content)
14221422
// chmod (tmpfile, 0700);
14231423
char *msg = CHINESE ? "即将执行 sh 脚本内容:" : "The sh script content will be executed:";
14241424
chsrc_note2 (msg);
1425-
println (faint(script_content));
1425+
print (faint(script_content));
14261426
char *cmd = xy_2strjoin ("sh ", tmpfile);
14271427
chsrc_run (cmd, RunOpt_Dont_Abort_On_Failure);
14281428
remove (tmpfile);
@@ -1441,7 +1441,7 @@ chsrc_run_as_pwsh_file (const char *script_content)
14411441
fclose (f);
14421442
char *msg = CHINESE ? "即将执行 PowerShell 脚本内容:" : "The PowerShell script content will be executed:";
14431443
chsrc_note2 (msg);
1444-
println (faint(script_content));
1444+
print (faint(script_content));
14451445
char *cmd = xy_2strjoin ("pwsh ", tmpfile);
14461446
chsrc_run (cmd, RunOpt_Dont_Abort_On_Failure);
14471447
remove (tmpfile);

0 commit comments

Comments
 (0)