File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 6
6
"license" : " MIT" ,
7
7
"repository" : {
8
8
"type" : " git" ,
9
- "url" : " git+https://github.com/joaostroher /insomnia-plugin-repo-sync.git"
9
+ "url" : " git+https://github.com/ignicaodigitalbr /insomnia-plugin-repo-sync.git"
10
10
},
11
11
"keywords" : [
12
12
" insomnia" ,
13
13
" plugin" ,
14
14
" git"
15
15
],
16
16
"bugs" : {
17
- "url" : " https://github.com/joaostroher /insomnia-plugin-repo-sync/issues"
17
+ "url" : " https://github.com/ignicaodigitalbr /insomnia-plugin-repo-sync/issues"
18
18
},
19
19
"main" : " src/index.js" ,
20
20
"insomnia" : {
29
29
}
30
30
},
31
31
"dependencies" : {},
32
- "homepage" : " https://github.com/joaostroher /insomnia-plugin-repo-sync#readme" ,
32
+ "homepage" : " https://github.com/ignicaodigitalbr /insomnia-plugin-repo-sync#readme" ,
33
33
"devDependencies" : {}
34
34
}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ class ScreenHelper {
5
5
6
6
static async askRepoPath ( context , options = { } ) {
7
7
await context . app . alert (
8
- 'Selecione Repo ' ,
8
+ 'Selecione Repositorio ' ,
9
9
`Escolha o repositorio para sincronizar workspaces\nWorkspace Atual: ${ options . currentPath } `
10
10
) ;
11
11
const path = await context . app . showSaveDialog ( { defaultPath : options . workspaceName } ) ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ module.exports.workspaceActions = [{
14
14
icon : 'fa-download' ,
15
15
action : async ( context , models ) => {
16
16
const repo = new WorkspaceRepo ( context ) ;
17
- if ( ! verifyRepoConfig ( repo , context ) ) return ;
17
+ if ( ! await verifyRepoConfig ( repo , context ) ) return ;
18
18
19
19
const path = await repo . getPath ( ) ;
20
20
const ex = await context . data . export . insomnia ( {
@@ -31,7 +31,7 @@ module.exports.workspaceActions = [{
31
31
icon : 'fa-upload' ,
32
32
action : async ( context , models ) => {
33
33
const repo = new WorkspaceRepo ( context ) ;
34
- if ( ! verifyRepoConfig ( repo , context ) ) return ;
34
+ if ( ! await verifyRepoConfig ( repo , context ) ) return ;
35
35
36
36
const path = await repo . getPath ( ) ;
37
37
const imported = fs . readFileSync ( `${ path } /${ models . workspace . name } .yml` , 'utf8' ) ;
You can’t perform that action at this time.
0 commit comments