Skip to content

Commit f8494d7

Browse files
committed
fix: var name
1 parent 74663be commit f8494d7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

templates/cli/lib/commands/push.js.twig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -737,16 +737,16 @@ const compareAttribute = (remote, local, reason, key) => {
737737
* @param remote
738738
* @param local
739739
* @param collection
740-
* @param recraeting when true will check only non-changeable keys
740+
* @param recreating when true will check only non-changeable keys
741741
* @returns {undefined|{reason: string, action: *, attribute, key: string}}
742742
*/
743-
const checkAttributeChanges = (remote, local, collection, recraeting = true) => {
743+
const checkAttributeChanges = (remote, local, collection, recreating = true) => {
744744
if (local === undefined) {
745745
return undefined;
746746
}
747747

748748
const keyName = `${chalk.yellow(local.key)} in ${collection.name} (${collection['$id']})`;
749-
const action = chalk.cyan(recraeting ? 'recreating' : 'changing');
749+
const action = chalk.cyan(recreating ? 'recreating' : 'changing');
750750
let reason = '';
751751
let attribute = remote;
752752

@@ -756,13 +756,13 @@ const checkAttributeChanges = (remote, local, collection, recraeting = true) =>
756756
}
757757

758758
if (changeableKeys.includes(key)) {
759-
if (!recraeting) {
759+
if (!recreating) {
760760
reason = compareAttribute(remote[key], local[key], reason, key)
761761
}
762762
continue;
763763
}
764764

765-
if (!recraeting) {
765+
if (!recreating) {
766766
continue;
767767
}
768768

0 commit comments

Comments
 (0)