Skip to content

Commit

Permalink
chore: rename Camunda Platform to Camunda
Browse files Browse the repository at this point in the history
  • Loading branch information
philippfromme committed Sep 27, 2023
1 parent 5474d51 commit 1c735b7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/utils/error-messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ function getExpressionValueNotAllowedErrorMessage(report, executionPlatform, exe

if (is(node, 'bpmn:FormalExpression') && property === 'timeCycle') {
if (!greaterOrEqual(executionPlatformVersion, '8.1')) {
return `${ getIndefiniteArticle(typeString) } <${ typeString }> <Time cycle> must be an expression, an ISO 8601 repeating interval, or a cron expression (cron only supported by Camunda Platform 8.1 or newer)`;
return `${ getIndefiniteArticle(typeString) } <${ typeString }> <Time cycle> must be an expression, an ISO 8601 repeating interval, or a cron expression (cron only supported by Camunda 8.1 or newer)`;
} else {
return `${ getIndefiniteArticle(typeString) } <${ typeString }> <Time cycle> must be an expression, an ISO 8601 repeating interval, or a cron expression`;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/properties-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ export function getErrorMessage(id, report) {

if (property === 'timeCycle') {
if (!greaterOrEqual(executionPlatformVersion, '8.1')) {
return 'Must be an expression, an ISO 8601 repeating interval, or a cron expression (cron only supported by Camunda Platform 8.1 or newer).';
return 'Must be an expression, an ISO 8601 repeating interval, or a cron expression (cron only supported by Camunda 8.1 or newer).';
}

return 'Must be an expression, an ISO 8601 repeating interval, or a cron expression.';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@camunda/linting",
"version": "3.8.1",
"description": "Linting for Camunda Platform",
"description": "Linting for Camunda",
"main": "index.js",
"scripts": {
"all": "npm run lint && npm test",
Expand Down
2 changes: 1 addition & 1 deletion test/spec/Linter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ describe('Linter', function() {

versions.forEach(function([ version, xml, errorsXML ]) {

describe(`Camunda Platform ${ version }`, function() {
describe(`Camunda ${ version }`, function() {

describe('from moddle', function() {

Expand Down
2 changes: 1 addition & 1 deletion test/spec/modeler/Linting.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ describe('Linting', function() {
});


describe('Camunda Platform', function() {
describe('Camunda', function() {

beforeEach(createModeler(diagramXMLPlatform,
[
Expand Down
2 changes: 1 addition & 1 deletion test/spec/utils/error-messages.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ describe('utils/error-messages', function() {
const errorMessage = getErrorMessage(report, 'Camunda Cloud', executionPlatformVersion);

// then
expect(errorMessage).to.equal('A <Timer Boundary Event> <Time cycle> must be an expression, an ISO 8601 repeating interval, or a cron expression (cron only supported by Camunda Platform 8.1 or newer)');
expect(errorMessage).to.equal('A <Timer Boundary Event> <Time cycle> must be an expression, an ISO 8601 repeating interval, or a cron expression (cron only supported by Camunda 8.1 or newer)');
});


Expand Down
2 changes: 1 addition & 1 deletion test/spec/utils/properties-panel.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ describe('utils/properties-panel', function() {
// then
expect(entryIds).to.eql([ 'timerEventDefinitionValue' ]);

expectErrorMessage(entryIds[ 0 ], 'Must be an expression, an ISO 8601 repeating interval, or a cron expression (cron only supported by Camunda Platform 8.1 or newer).', report);
expectErrorMessage(entryIds[ 0 ], 'Must be an expression, an ISO 8601 repeating interval, or a cron expression (cron only supported by Camunda 8.1 or newer).', report);
});


Expand Down

0 comments on commit 1c735b7

Please sign in to comment.