Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

Add ModuleLoader to satisfy new constructor arity #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions bin/closure_deps_graph.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(:require [clojure.java.io :as io])
(:import [java.io File]
[com.google.javascript.jscomp SourceFile BasicErrorManager]
[com.google.javascript.jscomp.deps DepsGenerator DepsGenerator$InclusionStrategy]))
[com.google.javascript.jscomp.deps ModuleLoader DepsGenerator DepsGenerator$InclusionStrategy]))

(defn js-files-in
"Return a sequence of all .js files in the given directory."
Expand All @@ -25,4 +25,5 @@
(report [level error]
(println error))
(println [level error]
(println error))))))
(println error)))
ModuleLoader/EMPTY)))