Skip to content

Commit

Permalink
Fix: add missing Modified state
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantk232 authored and amitu committed Sep 19, 2024
1 parent 7e0a35f commit 639c754
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/editor/editor-bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/editor/editor-bundle.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion components/editor/panels/package/package-content.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,10 @@ const file_color = (file, is_a_modified_file) => {
return "red";
case "New":
return "green";
case "Modified":
return "blue";
default: {
console.error("unreachable state. File status must be in [Normal, Deleted, New]");
console.error("unreachable state. File status must be in [Normal, Deleted, New, Modified]");
return "black";
}
}
Expand Down

0 comments on commit 639c754

Please sign in to comment.