Closed allanbowe closed 1 year ago
The syncDirectories feature hijacks the SAS log for returning JSON - which will remain the case until we address https://github.com/sasjs/vscode-extension/issues/336
syncDirectories
Currently this is an issue on Viya as the lines are force-wrapped despite the options ps=max ls=max; option
options ps=max ls=max;
So to address, we should simply removed the \n characters to bring the JSON back together.
\n
Eg from:
>>weboutBEGIN<< {"PROCESSED_DTTM" : "2022-12-21T15:39:32.631368" , "hashes": [{"DIRECTORY":"/export/pvs/sasdata/homes/viyademo08f/stephan/extract" ,"FILE_HASH":"F041B4AF15A7F844D20F45BA4F5EE1B4" ,"HASH_DURATION":0.0069699287 ,"FILE_PATH":"/export/pvs/sasdata/homes/viyademo08f/stephan/extract/makedata2.sas" ,"FILE_OR_FOLDER":"file" ,"LEVEL":1 } ,{"DIRECTORY":"/export/pvs/sasdata/homes/viyademo08f/stephan/load" ,"FILE_HASH":"616C9FA7A70C53AF4D335BE546B62441" ,"HASH_DURATION":0.007089138 ,"FILE_PATH":"/export/pvs/sasdata/homes/viyademo08f/stephan/load/runjob1.test.sas" ,"FILE_OR_FOLDER":"file" ,"LE VEL":1 } ] } >>weboutEND<<
To:
{"PROCESSED_DTTM" : "2022-12-21T15:39:32.631368", "hashes":[{"DIRECTORY":"/export/pvs/sasdata/homes/viyademo08f/stephan/extract","FILE_HASH":"F041B4AF15A7F844D20F45BA4F5EE1B4","HASH_DURATION":0.0069699287,"FILE_PATH":"/export/pvs/sasdata/homes/viyademo08f/stephan/extract/makedata2.sas","FILE_OR_FOLDER":"file","LEVEL":1 },{"DIRECTORY":"/export/pvs/sasdata/homes/viyademo08f/stephan/load","FILE_HASH":"616C9FA7A70C53AF4D335BE546B62441","HASH_DURATION":0.007089138,"FILE_PATH":"/export/pvs/sasdata/homes/viyademo08f/stephan/load/runjob1.test.sas","FILE_OR_FOLDER":"file" ,"LEVEL":1 }]}
:tada: This issue has been resolved in version 1.26.5 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
The
syncDirectories
feature hijacks the SAS log for returning JSON - which will remain the case until we address https://github.com/sasjs/vscode-extension/issues/336Currently this is an issue on Viya as the lines are force-wrapped despite the
options ps=max ls=max;
optionSo to address, we should simply removed the
\n
characters to bring the JSON back together.Eg from:
To: