We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c51a394 commit a369ef4Copy full SHA for a369ef4
src/cmd/commands.cpp
@@ -199,14 +199,14 @@ void Commands::check(const std::string& path) {
199
uid = UID(Comments::getSequenceIdFromProgram(program));
200
}
201
auto seq = ManagedSequence(uid);
202
- std::map<UID, int64_t> offsets;
+ std::map<UID, std::string> offsets;
203
bool has_offset = false;
204
const auto offsets_path =
205
SequenceUtil::getSeqsFolder(uid.domain()) + "offsets";
206
- if (SequenceList::loadMap(offsets_path, offsets)) {
+ if (SequenceList::loadMapWithComments(offsets_path, offsets)) {
207
auto it = offsets.find(uid);
208
if (it != offsets.end()) {
209
- seq.offset = it->second;
+ seq.offset = std::stoll(it->second);
210
has_offset = true;
211
212
0 commit comments