sasjs / cli

Command line interface for creating, compiling, and building SAS® projects

Home Page:https://cli.sasjs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`syncFolder` issues

allanbowe opened this issue · comments

Two issues.

  1. syncFolder needs to be functional at target level (if target exists, use that, else root)
  2. syncFolder needs to work for SAS 9. Currently breaks due to this code:
%let path=services;

%let path=services/common;

%let filename=appinit.js;
filename filecode temp lrecl=32767;
data _null_;
file filecode;
 put 'Y29uc3QgTU9OVEhTID0gWwogICdKQU4nLAogICdGRUInLAogICdNQVInLAogICdBUFInLAogICdNQVknLAogICdKVU4nLAogICdKVUwnLAogICdBVUcnLAogICdTRVAnLAogICdPQ1QnLAogICdOT1YnLAogICdERUMnCl0KCmZ1bmN0aW9uIGdldERhdGUoKSB7CiAgY29uc3QgZGF0ZSA9IG5l'@;
run;
%mm_createwebservice(path=&appLoc/&path, name=&service, code=sascode, server=&serverName, replace=yes)
filename filecode clear;

The issue is that the filename is filecode but the mm_createwebservice has code=sascode (should be code=filecode OR the filename should be filename sascode temp lrecl=32767;)

🎉 This issue has been resolved in version 3.20.4 🎉

The release is available on:

Your semantic-release bot 📦🚀