@sasjs/core 3.7.4 → 3.7.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.
package/base/mp_abort.sas CHANGED
@@ -110,8 +110,8 @@
110
110
  %if %symexist(SYSPRINTTOLOG) %then %let logloc=&SYSPRINTTOLOG;
111
111
  %else %let logloc=%qsysfunc(getoption(LOG));
112
112
  proc printto log=log;run;
113
+ %let logline=0;
113
114
  %if %length(&logloc)>0 %then %do;
114
- %let logline=0;
115
115
  data _null_;
116
116
  infile &logloc lrecl=5000;
117
117
  input; putlog _infile_;
@@ -160,7 +160,10 @@
160
160
  file _webout mod lrecl=32000 encoding='utf-8';
161
161
  length msg $32767 ;
162
162
  sasdatetime=datetime();
163
- msg=cats(symget('msg'),'\n\nLog Extract:\n',symget('logmsg'));
163
+ msg=symget('msg');
164
+ %if &logline>0 %then %do;
165
+ msg=cats(msg,'\n\nLog Extract:\n',symget('logmsg'));
166
+ %end;
164
167
  /* escape the quotes */
165
168
  msg=tranwrd(msg,'"','\"');
166
169
  /* ditch the CRLFs as chrome complains */
package/package.json CHANGED
@@ -38,5 +38,5 @@
38
38
  "dependencies": {
39
39
  "ts-loader": "^9.2.6"
40
40
  },
41
- "version": "3.7.4"
41
+ "version": "3.7.5"
42
42
  }