1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-10 22:14:35 +00:00

fix: using mfv_existfolder macro in mv_createfolder to save requests

This commit is contained in:
Allan Bowe
2021-05-26 23:36:09 +03:00
parent ce331a23c8
commit 8178b801fb

View File

@@ -27,6 +27,8 @@
@li mf_getuniquelibref.sas
@li mf_isblank.sas
@li mf_getplatform.sas
@li mfv_existfolder.sas
**/
@@ -42,6 +44,11 @@
%end;
%else %let dbg=*;
%if %mfv_existfolder(&path)=1 %then %do;
%put &sysmacroname: &path already exists;
%return;
%end;
%local oauth_bearer;
%if &grant_type=detect %then %do;
%if %symexist(&access_token_var) %then %let grant_type=authorization_code;