@epsilon-asi/actors 0.0.38 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -75,6 +75,8 @@ export class DefaultNativeFileDialogService {
|
|
|
75
75
|
|
|
76
76
|
private async assertFileExists(filePath: string): Promise<void> {
|
|
77
77
|
const stat = await fs.stat(filePath).catch(() => null);
|
|
78
|
+
console.log(filePath);
|
|
79
|
+
console.log(stat);
|
|
78
80
|
if (stat === null || !stat.isFile()) {
|
|
79
81
|
throw new NativeFileDialogError('Cannot select file because the path does not exist or is not a file.', {
|
|
80
82
|
filePath: redactPath(filePath, this.deps.revealFilePathsInLogs)
|
|
@@ -63,7 +63,8 @@ export const upworkComActor = defineActor({
|
|
|
63
63
|
}),
|
|
64
64
|
tasks: {
|
|
65
65
|
test: async (context, input) => {
|
|
66
|
-
|
|
66
|
+
//@ts-ignore
|
|
67
|
+
await context.native.fileDialogs.selectFile(process.env.TEST)
|
|
67
68
|
await context.native.mouse.moveTo({x: 100, y: 200})
|
|
68
69
|
},
|
|
69
70
|
searchJobs: async (context, input: UpworkJobSearchFields = {}): Promise<UpworkJobListing[]> => {
|