mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-29 19:52:54 +01:00
Copy as curl
This commit is contained in:
1 parent
82e2a6b73e
commit
88ee60c97f
32 files changed
+4352
-507
No files matched your search
@@ -43,7 +43,7 @@ type Pair = string | boolean;
|
||||
|
||||
type PairsByName = Record<string, Pair[]>;
|
||||
|
||||
export const pluginHookImport = (rawData: string) => {
|
||||
export function pluginHookImport(rawData: string) {
|
||||
if (!rawData.match(/^\s*curl /)) {
|
||||
return null;
|
||||
}
|
||||
@@ -125,7 +125,7 @@ export const pluginHookImport = (rawData: string) => {
|
||||
workspaces: [workspace],
|
||||
},
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
export function importCommand(parseEntries: ParseEntry[], workspaceId: string) {
|
||||
// ~~~~~~~~~~~~~~~~~~~~~ //
|
||||
|
||||
Reference in new issue
Block a user