Skip to content

Commit

Permalink
chore: sasjs path optional
Browse files Browse the repository at this point in the history
  • Loading branch information
medjedovicm committed Dec 6, 2021
1 parent 182de51 commit 3a4a4c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/SASjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ export default class SASjs {
? this.sasjsConfig.pathSASViya
: this.sasjsConfig.serverType === ServerType.Sas9
? this.sasjsConfig.pathSAS9
: this.sasjsConfig.pathSASJS
: this.sasjsConfig.pathSASJS || ''

this.authManager = new AuthManager(
this.sasjsConfig.serverUrl,
Expand Down
2 changes: 1 addition & 1 deletion src/types/SASjsConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class SASjsConfig {
* The location of the STP Process Web Application. By default the adapter
* will use '/SASjsApi/stp/execute' on SAS JS.
*/
pathSASJS: string = ''
pathSASJS?: string = ''
/**
* The location of the Stored Process Web Application. By default the adapter
* will use '/SASStoredProcess/do' on SAS 9.
Expand Down

1 comment on commit 3a4a4c3

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

Total coverage

Status Category Percentage Covered / Total
🔴 Statements 58.26% 1604/2753
🔴 Branches 39.3% 551/1402
🔴 Functions 45.82% 230/502
🟡 Lines 67.41% 2563/3802

Status of coverage: 🟢 - ok, 🟡 - slightly more than threshold, 🔴 - under the threshold

Report generated by 🧪jest coverage report action from 3a4a4c3

Please sign in to comment.