-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: convert to esm
- Loading branch information
Showing
1,091 changed files
with
13,648 additions
and
11,919 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
// Generated by CoffeeScript 2.7.0 | ||
module.exports = async function({config}) { | ||
await this.call('@nikitajs/lxd-runner/lib/actions/start', config); | ||
await this.call('@nikitajs/lxd-runner/lib/actions/test', config); | ||
return (await this.call('@nikitajs/lxd-runner/lib/actions/stop', config)); | ||
export default async function({config}) { | ||
await this.call('@nikitajs/lxd-runner/start', config); | ||
await this.call('@nikitajs/lxd-runner/test', config); | ||
await this.call('@nikitajs/lxd-runner/stop', config); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
// Generated by CoffeeScript 2.7.0 | ||
module.exports = function({config}) { | ||
return this.lxc.cluster({ | ||
export default async function({config}) { | ||
await this.lxc.cluster({ | ||
$header: 'Container start' | ||
}, config.cluster); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
// Generated by CoffeeScript 2.7.0 | ||
module.exports = async function({config, ...args}) { | ||
({config} = (await this.lxc.state({ | ||
export default async function({config}) { | ||
const {config: state} = await this.lxc.state({ | ||
$header: 'Container state', | ||
container: `${config.container}` | ||
}))); | ||
return process.stdout.write(JSON.stringify(config, null, 2)); | ||
}); | ||
process.stdout.write(JSON.stringify(state, null, 2)); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.