File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export async function getFileContents(
5656 // @ts -expect-error This type comes from @octokit/openapi-types, not much we can do to fix it
5757 . request ( route , getContentsParameters )
5858 . catch ( ( error : RequestError ) => {
59- /* v8 ignore next */
59+ /* v8 ignore next -- @preserve */
6060 if ( error . status !== 404 ) throw error ;
6161
6262 return {
@@ -99,7 +99,7 @@ export async function getFileContents(
9999 content : base64ToUtf8 ( data . content ) ,
100100 sha : data . sha ,
101101 } ;
102- /* v8 ignore start */
102+ /* v8 ignore start -- @preserve */
103103 } catch ( error : any ) {
104104 if ( error . message !== "URI malformed" ) throw error ;
105105
@@ -111,5 +111,5 @@ export async function getFileContents(
111111 } ,
112112 ) ;
113113 }
114- /* v8 ignore stop */
114+ /* v8 ignore stop -- @preserve */
115115}
You can’t perform that action at this time.
0 commit comments