fix: ensuring apploc is not case sensitive. Closes #171
All checks were successful
Build / Build-and-ng-test (pull_request) Successful in 4m6s
Build / Build-and-test-development (pull_request) Successful in 8m38s

This commit is contained in:
allan 2025-06-06 21:05:08 +01:00
parent a7c81245ff
commit 24545f2acd
3 changed files with 15 additions and 6 deletions

8
sas/package-lock.json generated
View File

@ -7,7 +7,7 @@
"name": "dc-sas",
"dependencies": {
"@sasjs/cli": "^4.12.7",
"@sasjs/core": "^4.58.2"
"@sasjs/core": "^4.59.0"
}
},
"node_modules/@coolaj86/urequest": {
@ -83,9 +83,9 @@
"license": "MIT"
},
"node_modules/@sasjs/core": {
"version": "4.58.2",
"resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.58.2.tgz",
"integrity": "sha512-P/DMCHfFrZT+50DIT7CiYBSjxOo5m0AHBLNKHGFOMfQnEymOKekQPk2Xzw5wkQyg8gjp2yBKhRwhpni5rvJFgQ==",
"version": "4.59.0",
"resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.59.0.tgz",
"integrity": "sha512-mv7UU3Nc9J4Q0h+QerN2DkZDIKNwOG6dg+w55hjpl9qyncKqn0YKk3fc9P/P+F8FB9D6VMUFDy3AgAUHXMjZ8A==",
"license": "MIT"
},
"node_modules/@sasjs/lint": {

View File

@ -29,6 +29,6 @@
"private": true,
"dependencies": {
"@sasjs/cli": "^4.12.7",
"@sasjs/core": "^4.58.2"
"@sasjs/core": "^4.59.0"
}
}

View File

@ -2,6 +2,11 @@
@file buildinitviya.sas
@brief initialisation for viya build program
<h4> SAS Macros </h4>
@li mfv_getfolderpath.sas
@li mfv_getpathuri.sas
@li mv_createfolder.sas
**/
options nonotes nomprint;
@ -9,4 +14,8 @@ options nonotes nomprint;
/* update apploc to default to user home area if not set */
%let apploc=%sysfunc(ifc("&apploc"="/Public/app/dcplaceholder"
,/Users/&sysuserid/My Folder/Data Controller
,&apploc));
,&apploc));
/* ensure the correct casing of appLoc */
%mv_createfolder(path=&apploc)
%let apploc=%mfv_getfolderpath(%mfv_getpathuri(&apploc));