mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-26 13:27:05 +08:00
Fix warnings
This commit is contained in:
parent
23e58ac604
commit
68feb61333
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ import MonacoEditorAdapter from "./live_editor/monaco_editor_adapter";
|
|||
import HookServerAdapter from "./live_editor/hook_server_adapter";
|
||||
import RemoteUser from "./live_editor/remote_user";
|
||||
import { replacedSuffixLength } from "../../lib/text_utils";
|
||||
import { settingsStore, EDITOR_FONT_SIZE } from "../../lib/settings";
|
||||
import { settingsStore } from "../../lib/settings";
|
||||
import Doctest from "./live_editor/doctest";
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ defmodule Livebook.JSInterop do
|
|||
end
|
||||
|
||||
defp apply_to_code_units([{:delete, n} | ops], code_units) do
|
||||
apply_to_code_units(ops, Enum.slice(code_units, n..-1))
|
||||
apply_to_code_units(ops, Enum.slice(code_units, n..-1//1))
|
||||
end
|
||||
|
||||
@doc """
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue