File tree Expand file tree Collapse file tree 2 files changed +29
-15
lines changed Expand file tree Collapse file tree 2 files changed +29
-15
lines changed Original file line number Diff line number Diff line change
1
+ # os junk
1
2
.DS_Store
3
+
4
+ # yarn/typescript build junk
5
+ package-lock.json
6
+ * .tsbuildinfo
7
+
2
8
# Byte-compiled / optimized / DLL files
3
9
__pycache__ /
4
10
* .py [cod ]
5
11
* $py.class
12
+ .pytest_cache /
6
13
7
14
# C extensions
8
15
* .so
9
16
10
17
# Distribution / packaging
18
+ * .egg
19
+ * .egg-info /
20
+ .eggs /
21
+ .installed.cfg
11
22
.Python
12
23
env /
13
24
build /
14
25
develop-eggs /
15
26
dist /
16
27
downloads /
17
28
eggs /
18
- .eggs /
29
+ jupyterlab_git / labextension / * .tgz
19
30
lib /
20
31
lib64 /
32
+ MANIFEST
21
33
parts /
22
34
sdist /
23
35
var /
24
36
wheels /
25
- * .egg-info /
26
- .installed.cfg
27
- * .egg
28
37
29
38
# PyInstaller
30
39
# Usually these files are written by a python script from a template
@@ -102,12 +111,11 @@ ENV/
102
111
.mypy_cache /
103
112
node_modules /
104
113
105
- # editors
106
- .vscode /
114
+ # jetbrains ide stuff
115
+ * .iml
116
+ .idea /
107
117
108
- package-lock.json
109
- MANIFEST
110
- jupyterlab_git /labextension /* .tgz
111
- .pytest_cache /
112
- * .tsbuildinfo
113
- .pytest_cache /
118
+ # vscode ide stuff
119
+ * .code-workspace
120
+ .history
121
+ .vscode
Original file line number Diff line number Diff line change @@ -79,10 +79,16 @@ async function makeApiCall(
79
79
// try to clone again
80
80
response = await model . clone ( path , cloneUrl , result . value ) ;
81
81
} else {
82
- throw new Error ( response . message ) ;
82
+ showErrorMessage ( 'Clone failed' , response . message , [
83
+ Dialog . warnButton ( { label : 'DISMISS' } )
84
+ ] ) ;
85
+ break ;
83
86
}
84
- } else if ( response . code === 128 ) {
85
- throw new Error ( response . message ) ;
87
+ } else {
88
+ showErrorMessage ( 'Clone failed' , response . message , [
89
+ Dialog . warnButton ( { label : 'DISMISS' } )
90
+ ] ) ;
91
+ break ;
86
92
}
87
93
}
88
94
} catch ( error ) {
You can’t perform that action at this time.
0 commit comments