sasjs / server

Build Apps on Base SAS

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sasjscore -> sasautos

allanbowe opened this issue ยท comments

It seems there may have been an issue during the delivery of this feature: #292

The sasjs_root/sasjscore folder should have moved to sasjs_root/sas/sasautos -> however it still exists in the deployed version

Also, it seems the versions of the macros in each location are different

Expected:

  • sasjs_root/sas/sasautos contains all the sasjs/core macros (per the version in api/package.json)
  • sasjs_root/sasjscore does not exist in the deployed version

In addition it would be great to add the following file to the sasjs_root/sas/sasautos directory (called webout.sas):

%macro webout(action,ds,dslabel=,fmt=,missing=NULL,showmeta=NO,maxobs=MAX);
    %ms_webout(&action,ds=&ds,dslabel=&dslabel,fmt=&fmt
      ,missing=&missing
      ,showmeta=&showmeta
      ,maxobs=&maxobs
    )  
%mend;

On investigation it seems the sasjs_root/sasjscore library is likely a leftover from a previous installation.

The new structure (since #310 was merged) is to have sasjs_root/drive/sasjsautos - which allows multiple instances to share the same sasautos directory.

So the fix is to simply use the latest version and manually clear up the old folders.

In the meantime we'll add the SASjs version of the webout() macro to the sasautos folder as part of the SASjs server build.

๐ŸŽ‰ This issue has been resolved in version 0.27.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€