Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -71,7 +71,8 @@ public void dispose() {
}

private Source loadSource(String source, String name) {
return Source.newBuilder(source).name(name).mimeType(RubyLanguage.MIME_TYPE).build();
return Source.fromText(source, name).withMimeType(RubyLanguage.MIME_TYPE);
//return Source.newBuilder(source).name(name).mimeType(RubyLanguage.MIME_TYPE).build();
}

}

0 comments on commit 3e8bd9c

Please sign in to comment.