@salesforce/source-tracking
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -5,2 +5,8 @@ # Changelog | ||
### [1.1.4](https://github.com/forcedotcom/source-tracking/compare/v1.1.3...v1.1.4) (2022-03-07) | ||
### Bug Fixes | ||
- clearer messaging and legacy accommodation ([9f14e0f](https://github.com/forcedotcom/source-tracking/commit/9f14e0f02c9df69018b396148b8b4c49c161bf4d)) | ||
### [1.1.3](https://github.com/forcedotcom/source-tracking/compare/v1.1.2...v1.1.3) (2022-03-07) | ||
@@ -7,0 +13,0 @@ |
@@ -57,5 +57,5 @@ "use strict"; | ||
// some of the toolbelt commands aren't using SfdxCommand and the SfdxError actions won't be automatically displayed | ||
throw new core_1.SfdxError(`${messages.getMessage('sourceTrackingFileVersionMismatch', ['new'])}\n\nTry this:\n${messages.getMessage('useOtherVersion', ['new', (0, exports.replaceRenamedCommands)(command, true)])}.\n${messages.getMessage('clearSuggestion', [ | ||
'new', | ||
(0, exports.replaceRenamedCommands)('sfdx force:source:tracking:clear', true), | ||
throw new core_1.SfdxError(`${messages.getMessage('sourceTrackingFileVersionMismatch', ['new/beta'])}\n\nTry this:\n${messages.getMessage('useOtherVersion', ['new/beta', (0, exports.replaceRenamedCommands)(command.replace(':legacy', ''))])}.\n${messages.getMessage('clearSuggestion', [ | ||
'new/beta', | ||
(0, exports.replaceRenamedCommands)('sfdx force:source:tracking:clear'), | ||
])}.`, 'SourceTrackingFileVersionMismatch'); | ||
@@ -65,5 +65,5 @@ } | ||
if (toValidate === 'plugin-source') { | ||
throw new core_1.SfdxError(messages.getMessage('sourceTrackingFileVersionMismatch', ['old']), 'SourceTrackingFileVersionMismatch', [ | ||
messages.getMessage('useOtherVersion', ['old', (0, exports.replaceRenamedCommands)(command, true)]), | ||
messages.getMessage('clearSuggestion', ['old', 'sfdx force:source:tracking:clear']), | ||
throw new core_1.SfdxError(messages.getMessage('sourceTrackingFileVersionMismatch', ['old/legacy']), 'SourceTrackingFileVersionMismatch', [ | ||
messages.getMessage('useOtherVersion', ['old/legacy', (0, exports.replaceRenamedCommands)(command, true)]), | ||
messages.getMessage('clearSuggestion', ['old/legacy', 'sfdx force:source:tracking:clear']), | ||
]); | ||
@@ -70,0 +70,0 @@ } |
{ | ||
"name": "@salesforce/source-tracking", | ||
"description": "API for tracking local and remote Salesforce metadata changes", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"author": "Salesforce", | ||
@@ -6,0 +6,0 @@ "license": "BSD-3-Clause", |
125581
2168