mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
style(sdk): apply prettier with single quotes
Run prettier across sdk/base and sdk/package to apply the standardized quote style (single quotes matching web).
This commit is contained in:
@@ -2,7 +2,7 @@ export const asError = (e: unknown) => {
|
||||
if (e instanceof Error) {
|
||||
return new Error(e as any)
|
||||
}
|
||||
if (typeof e === "string") {
|
||||
if (typeof e === 'string') {
|
||||
return new Error(`${e}`)
|
||||
}
|
||||
return new Error(`${JSON.stringify(e)}`)
|
||||
|
||||
Reference in New Issue
Block a user