Skip to content

Commit f2a2c81

Browse files
author
Aamod Pisat
committed
fixed the bug: adding whitespace doesn't start the app.
1 parent bb382ff commit f2a2c81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/connect.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ var configTemplate = function () {
8888
, ' ],'
8989
, ' plugins: {},'
9090
, ' contentstack: {'
91-
, ' api_key: "' + inputs.api_key + '",'
92-
, ' access_token: "' + inputs.access_token + '"'
91+
, ' api_key: "' + inputs.api_key.trim() + '",'
92+
, ' access_token: "' + inputs.access_token.trim() + '"'
9393
, ' }'
9494
, '};'
9595
].join(eol);

0 commit comments

Comments
 (0)