Skip to content

Commit

Permalink
chore: spelling: shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Mar 6, 2018
1 parent ba3bf32 commit 8cc21a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chai.js
Original file line number Diff line number Diff line change
Expand Up @@ -8397,7 +8397,7 @@ function formatValue(ctx, value, recurseTimes) {

var name, nameSuffix;

// Some type of object without properties can be shortcutted.
// Some type of object without properties can be shortcut.
// In IE, errors have a single `stack` property, or if they are vanilla `Error`,
// a `stack` plus `description` property; ignore those for consistency.
if (keys.length === 0 || (isError(value) && (
Expand Down
2 changes: 1 addition & 1 deletion lib/chai/utils/inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function formatValue(ctx, value, recurseTimes) {

var name, nameSuffix;

// Some type of object without properties can be shortcutted.
// Some type of object without properties can be shortcut.
// In IE, errors have a single `stack` property, or if they are vanilla `Error`,
// a `stack` plus `description` property; ignore those for consistency.
if (keys.length === 0 || (isError(value) && (
Expand Down

0 comments on commit 8cc21a8

Please sign in to comment.