Skip to content

Commit

Permalink
placate eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
rubys committed Jul 23, 2023
1 parent 4c2ea2b commit 92c9c6a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,16 +485,16 @@ export class GDF {
if (options.force) this.#answer = 'a'

// read instructions
for (const stage of ["base", "build", "deploy"]) {
for (const stage of ['base', 'build', 'deploy']) {
if (options.instructions?.[stage]) {
try {
options.instructions[stage] = fs.readFileSync(
path.join(this._appdir, options.instructions[stage]),
"utf-8"
'utf-8'
).trimEnd()
} catch(error) {
} catch (error) {
console.error(error)
options.instructions[stage] = ""
options.instructions[stage] = ''
}
}
}
Expand Down

0 comments on commit 92c9c6a

Please sign in to comment.