File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -125,17 +125,15 @@ void main() {
125125 'my_package' ,
126126 pubspecExtras: {
127127 'screenshots' : [
128- {'description' : 'description' , 'path' : 's1/ static.webp' },
128+ {'description' : 'description' , 'path' : 'static.webp' },
129129 {'description' : 'description' , 'path' : 's2/static.webp' },
130130 ],
131131 },
132132 extraFiles: [
133- d.dir ('s1' , [
134- d.file (
135- 'static.webp' ,
136- File (p.join (_testImagesDir, 'static.webp' )).readAsBytesSync (),
137- ),
138- ]),
133+ d.file (
134+ 'static.webp' ,
135+ File (p.join (_testImagesDir, 'static.webp' )).readAsBytesSync (),
136+ ),
139137 d.dir ('s2' , [
140138 d.file (
141139 'static.webp' ,
@@ -147,7 +145,7 @@ void main() {
147145
148146 await descriptor.create ();
149147 final screenshots = [
150- Screenshot ('description' , 's1/ static.webp' ),
148+ Screenshot ('description' , 'static.webp' ),
151149 Screenshot ('description' , 's2/static.webp' ),
152150 ];
153151 final result = await processAllScreenshots (screenshots, descriptor.io.path);
You can’t perform that action at this time.
0 commit comments