Skip to content

Commit

Permalink
devtools: Remove auto type conversion of opslang command parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
kobkaz committed Jan 23, 2025
1 parent eca8c69 commit ffbce1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions devtools-frontend/src/components/CommandView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ const buildTco = (
});
break;
case "bytes":
window.alert("Automatically converting bytes to integer. Automatic conversion will be removed in future!!");
tcoParams.push({
name,
value: {
Expand All @@ -188,6 +189,7 @@ const buildTco = (
});
break;
case "integer":
window.alert("Automatically converting integer to double. Automatic conversion will be removed in future!!");
tcoParams.push({
name,
value: {
Expand All @@ -197,6 +199,7 @@ const buildTco = (
});
break;
case "bytes":
window.alert("Automatically converting bytes to double. Automatic conversion will be removed in future!!");
tcoParams.push({
name,
value: {
Expand Down

0 comments on commit ffbce1d

Please sign in to comment.