mirror of
https://github.com/DeLaGuardo/setup-clojure.git
synced 2025-01-14 02:18:07 +08:00
Do not fail on windows with specified 'tools-deps' instead of 'cli'
This commit is contained in:
parent
12f4eac607
commit
6a1d1d403a
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -3453,9 +3453,9 @@ function run() {
|
||||
cli.setup(CLI_VERSION);
|
||||
}
|
||||
}
|
||||
if (TDEPS_VERSION) {
|
||||
if (TDEPS_VERSION && !CLI_VERSION) {
|
||||
if (IS_WINDOWS) {
|
||||
throw new Error('Clojure tools.deps on windows is not supported yet.');
|
||||
cli.setupWindows(TDEPS_VERSION);
|
||||
}
|
||||
cli.setup(TDEPS_VERSION);
|
||||
}
|
||||
|
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@ -32,9 +32,9 @@ async function run(): Promise<void> {
|
||||
}
|
||||
}
|
||||
|
||||
if (TDEPS_VERSION) {
|
||||
if (TDEPS_VERSION && !CLI_VERSION) {
|
||||
if (IS_WINDOWS) {
|
||||
throw new Error('Clojure tools.deps on windows is not supported yet.')
|
||||
cli.setupWindows(TDEPS_VERSION)
|
||||
}
|
||||
cli.setup(TDEPS_VERSION)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user