Skip to content

Instantly share code, notes, and snippets.

Created February 1, 2015 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/0fc1d441034d421baf4e to your computer and use it in GitHub Desktop.
Save anonymous/0fc1d441034d421baf4e to your computer and use it in GitHub Desktop.
if (sku.sku === 'M6121C07C') {
didWeReachThisId = true;
console.warn('We reached, but waiting for one more!'.yellow, sku.sku);
callback(null, true);
}
if (didWeReachThisId === true) {
} else {
console.warn('SKIPPING, bc not at that ID yet'.yellow, sku.sku);
callback(null, true);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment