Skip to content

Commit 13d9c19

Browse files
fix cwd
1 parent 08dc4a7 commit 13d9c19

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

custom-login/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"ng": "ng",
77
"start": "ng serve",
88
"build": "ng build --prod --deploy-url /custom-login/ --base-href /custom-login/",
9-
"test": "yarn lint && yarn test:custom-login --cwd ../",
9+
"test": "yarn lint && yarn --cwd .. test:custom-login",
1010
"lint": "ng lint"
1111
},
1212
"private": true,

okta-hosted-login/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"ng": "ng",
77
"start": "ng serve",
88
"build": "ng build --prod --deploy-url /okta-hosted-login/ --base-href /okta-hosted-login/",
9-
"test": "yarn lint && yarn test:okta-hosted-login --cwd ../",
9+
"test": "yarn lint && yarn --cwd .. test:okta-hosted-login",
1010
"lint": "ng lint"
1111
},
1212
"private": true,

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"version": "0.0.4",
44
"description": "Angular Sample Applications for Okta",
55
"scripts": {
6-
"lint:okta-hosted-login": "yarn lint --cwd okta-hosted-login/",
7-
"lint:custom-login": "yarn lint --cwd custom-login/",
6+
"lint:okta-hosted-login": "yarn --cwd okta-hosted-login lint",
7+
"lint:custom-login": "yarn --cwd custom-login lint",
88
"lint": "yarn lint:okta-hosted-login && yarn lint:custom-login",
99
"test": "yarn test:e2e",
1010
"test:e2e": "yarn test:okta-hosted-login && yarn test:custom-login",
11-
"okta-hosted-login-server": "yarn start --cwd okta-hosted-login/",
11+
"okta-hosted-login-server": "yarn --cwd okta-hosted-login start",
1212
"test:okta-hosted-login": "export TEST_TYPE=implicit || setx TEST_TYPE \"implicit\" && protractor protractor.conf.js --sample=okta-hosted-login --disableChecks",
13-
"custom-login-server": "yarn start --cwd custom-login/",
13+
"custom-login-server": "yarn --cwd custom-login start",
1414
"test:custom-login": "export TEST_TYPE=implicit || setx TEST_TYPE \"implicit\" && protractor protractor.conf.js --sample=custom-login --disableChecks",
1515
"resource-server": "node scripts/startResourceServer.js",
1616
"preresource-server": "yarn setup-env",

0 commit comments

Comments
 (0)