mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-11 06:10:05 +00:00
chore(*): change code style to remove semicolons
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
export const splitChunks = (content: string) => {
|
||||
const size = 16000;
|
||||
const size = 16000
|
||||
|
||||
const numChunks = Math.ceil(content.length / size);
|
||||
const chunks = new Array(numChunks);
|
||||
const numChunks = Math.ceil(content.length / size)
|
||||
const chunks = new Array(numChunks)
|
||||
|
||||
for (let i = 0, o = 0; i < numChunks; ++i, o += size) {
|
||||
chunks[i] = content.substr(o, size);
|
||||
chunks[i] = content.substr(o, size)
|
||||
}
|
||||
|
||||
return chunks;
|
||||
};
|
||||
return chunks
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user