Skip to content

Commit

Permalink
Merge 93e49c5 into 4d0f390
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Wang committed May 20, 2020
2 parents 4d0f390 + 93e49c5 commit 8a7bff6
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 7 deletions.
58 changes: 55 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"devDependencies": {
"benchmark": "latest",
"coveralls": "latest",
"cross-env": "^6.0.3",
"es6-promise": "latest",
"eslint": "~6",
"grunt": "latest",
Expand Down Expand Up @@ -91,8 +92,8 @@
}
},
"scripts": {
"ts3.1-typescript-test": "node_modules/typescript3/bin/tsc --project ts3.1-typing-tests",
"typescript-test": "node_modules/typescript/bin/tsc --project typing-tests",
"ts3.1-typescript-test": "cross-env node_modules/typescript3/bin/tsc --project ts3.1-typing-tests",
"typescript-test": "cross-env node_modules/typescript/bin/tsc --project typing-tests",
"test": "grunt test",
"eslint": "eslint Gruntfile.js tasks src",
"prettier-check": "prettier --check Gruntfile.js tasks src",
Expand Down
2 changes: 0 additions & 2 deletions src/lib/create/from-string-and-format.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ export function configFromStringAndFormat(config) {
token = tokens[i];
parsedInput = (string.match(getParseRegexForToken(token, config)) ||
[])[0];
// console.log('token', token, 'parsedInput', parsedInput,
// 'regex', getParseRegexForToken(token, config));
if (parsedInput) {
skipped = string.substr(0, string.indexOf(parsedInput));
if (skipped.length > 0) {
Expand Down

0 comments on commit 8a7bff6

Please sign in to comment.